align center qestion

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
i hope this isnt too stupid a question but how would i align this to the


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">


<body style="margin:0px;padding:0px;">

<div style="width:750px;height:60px;background:#45ff78;">Logo and
<div style="width:750px;height:20px;background:#ffffff;">Horizontal
nd:#ff9900;">1st column</div>
ound:#dd6124;">2nd column</div>


Re: align center qestion


Quoted text here. Click to load it

Don't post code. Provide an example page on a temporary url.

1. Why make all styles inline? It is a horror (to me) to try and read it.  
Better put it all together in a stylesheet.

2. If you set the fixed width (ugh yak) of 750px you've chosen to the  
body, and add margin:0 auto; the body will center itself in the viewport  
of a graphical browser.

,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
|      weblog | |
|  webontwerp | |
|zweefvliegen | |
`-------------------------------------------------- --<--@ ------------'

Re: align center qestion

Quoted text here. Click to load it

i normally use css but i just found this bit of code (it was actually for a
four column 100% beast) and i was trying to mangle it to my needs - but alas
my head isnt working today...

thanks though

Re: align center qestion

Quoted text here. Click to load it
sorry here it is

Site Timeline