Irish SEO,  Marketing & Webmaster Discussion
 
 

Go Back   Irish SEO, Marketing & Webmaster Discussion > Webmaster Help > Coding Help > HTML Basics


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-05-2008, 06:39 PM
Coder
 
Join Date: Apr 2008
Posts: 47
sticker will become famous soon enough
Default RELLY stupid newbie question

Hi,

I'm a self taught web designer so I'm learned in some areas - lacking in others!

With the shameless apology out of the way - here goes...

I'm using tables to build a site - (I know, i know!), Within one master table I've a second split vertically into 2.

So I have a left side for text / graphics and a right side (much narrower) for a side bar graphic effect.

Trouble is when I paste the side bar image into the right column, it just sits in the middle - the master table itself is LONG, so I suppose it just centers itself verticially.

I understand I could just return (shift) the image up, but accross different browsers, it appears in different places!

I simply want to have the graphic appear at the absolute top of the right side of this table.

There must be a way!

PS - In Dreamweaver there's a reference to "Align" in the properties section - "absolute top" doesn't work!

Thanks in advance - I've been trying to figure out a way all afternoon!
Reply With Quote
  #2 (permalink)  
Old 10-05-2008, 06:52 PM
Developer
Recent Blog: MultiMedia Tradeshow
 
Join Date: Dec 2006
Location: Belfast
Posts: 163
MickyWall will become famous soon enough
Default

maybe try valign as a td attribute?
Reply With Quote
  #3 (permalink)  
Old 10-05-2008, 07:17 PM
Coder
 
Join Date: Apr 2008
Posts: 47
sticker will become famous soon enough
Default

Quote:
Originally Posted by MickyWall View Post
maybe try valign as a td attribute?
valign="top"

Worked a charm! thanks Micky!
Reply With Quote
  #4 (permalink)  
Old 12-05-2008, 10:12 AM
gav240z's Avatar
Wannabe Geek
 
Join Date: Dec 2007
Location: Rathmines, Dublin
Posts: 296
gav240z will become famous soon enough
Default

Quote:
Originally Posted by sticker View Post
valign="top"

Worked a charm! thanks Micky!
Yeah old school . Its useful for Email Marketing HTML.

Using tables for say your grid layout is ok (this is why the doctype transitional was inveted), I'd avoid using lots of nested tables though. It can become somewhat cumbersome to maintain.
Reply With Quote
  #5 (permalink)  
Old 12-05-2008, 10:51 AM
Coder
 
Join Date: Apr 2008
Posts: 47
sticker will become famous soon enough
Default

Quote:
Originally Posted by gav240z View Post
Yeah old school . Its useful for Email Marketing HTML.

Using tables for say your grid layout is ok (this is why the doctype transitional was inveted), I'd avoid using lots of nested tables though. It can become somewhat cumbersome to maintain.
Whats the modern alternative - like I said, I'm self taught!

I'll invest some time into learning the newer method!

Thanks
Reply With Quote
  #6 (permalink)  
Old 12-05-2008, 11:02 AM
gav240z's Avatar
Wannabe Geek
 
Join Date: Dec 2007
Location: Rathmines, Dublin
Posts: 296
gav240z will become famous soon enough
Default

Quote:
Originally Posted by sticker View Post
Whats the modern alternative - like I said, I'm self taught!

I'll invest some time into learning the newer method!

Thanks
Modern alternative is to use DIV's for layout and control those through CSS. Infact all formatting information should be removed from your HTML and controlled by CSS.

So learning XHTML and CSS is your best bet. Its a bit easier these days as browser support is much better than it was previously, however it can be tricky when dealing with IE6 / IE7.

A List Apart: A List Apart is a good start, but can be somewhat confusing when you get started.

Also try HTML and CSS Tutorials, References, and Articles | HTML Dog

and Max Design - standards based web design, development and training

Using XHTML means you can basically trim lots of data out of your HTML making page load times alot faster and future upgradings and design changes much easier. Its about using the correct markup for the correct items.

I would probably suggest buying some books by Eric Meyer and Jeffrey Zeldman as some of the information on the internet can be confusing to follow with different people applying *Hacks* to their style sheets.

Its a bit of a learning curve but certainly worth doing if you are seriously about web design.
Reply With Quote
  #7 (permalink)  
Old 12-05-2008, 11:15 AM
Coder
 
Join Date: Apr 2008
Posts: 47
sticker will become famous soon enough
Default

Thanks for taking the time to reply! I'll get into those links asap!

I'd suggest that my current methods are far too time-consuming...

Appreciate the help. Cheers
Reply With Quote
  #8 (permalink)  
Old 12-05-2008, 08:33 PM
404 username not found's Avatar
Undefined offset:
 
Join Date: Jan 2007
Location: localhost
Posts: 59
404 username not found will become famous soon enough
Default

Urgh, I wouldn't want to be learning div layouts all over again... there are so many preachy, waffly guides out there.

All I can suggest is sitting down with notepad and starting from scratch... don't allow yourself to use any tables and see how good a page you can make... keep building on what you know until you can feasably ditch table layouts.
You might find yourself thinking "If I was doing this with tables, I'd be done by now", I know I did... a lot.
But I think you have to forget everything you know and lower your expectations while you learn this new mindset, otherwise it's just frustrating.
It's hard to change from thinking in tables to thinking in divs, but it's well worth it.

I think the key to being able to see what you're doing and understanding divs is adding a border:
border: 1px solid #000;
to your div's CSS... then playing with size, position, nesting, backgrounds, padding, margin, float, clear, etc.

And if you get in trouble, just slap different coloured borders on everything (even <p> if you have to) and you'll soon see what's wrong and where.
__________________
Reply With Quote
  #9 (permalink)  
Old 12-05-2008, 10:27 PM
Coder
 
Join Date: Apr 2008
Posts: 47
sticker will become famous soon enough
Default

Thanks 404 - some good advice
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie PHP question Eye4It Coding Help 9 10-07-2008 12:51 PM
General Blog questions & BLOG URL SEO question. Help Please? :-) Gman290 Search Engine Optimisation 4 07-12-2007 10:24 AM
Just a random question, Joseph Grogan Off topic discussion 16 17-11-2007 09:28 PM
.htaccess question kjt Server / Technical Administration Tips and Queries 4 27-09-2007 06:23 PM
Bandwidth question JamesA Webmaster Discussion 4 28-01-2007 09:56 AM


All times are GMT +1. The time now is 09:16 PM.


Powered by: vBulletin Version 3.7.2, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.

Search Engine Friendly URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56