| View previous topic :: View next topic |
| Author |
Message |
Lusis Backwood JR Enthusiastic Coder
Joined: 26 May 2006 Posts: 87 Location: United States
|
Hello
I'm trying to code up http://www.senworks.com/sands_beta/header_beta2.html in css. If i break it into 4 pieces, with the white piece on the left where the logo goes, then the sales section, the lease section, then the quick search section... I could put those in a div but how? Do I set the div to inline, then just put each one as a header tag floated left and margin on them to make them go off the left of the site appropriately?
Reply with quote
|
| |
|
|
AmeliaR Enthusiastic Coder
Joined: 31 May 2006 Posts: 142
|
<div id="header"><h2>Sales</h2><ul><li>...</ul><h2>Lease</h2><ul><li>...</ul></div>
IR on the h2's and float everything left
Entire background on #header and padding-left on #header to position them
Reply with quote
|
| |
|
|
Lusis Backwood JR Enthusiastic Coder
Joined: 26 May 2006 Posts: 87 Location: United States
| |
AmeliaR Enthusiastic Coder
Joined: 31 May 2006 Posts: 142
| |
Lusis Backwood JR Enthusiastic Coder
Joined: 26 May 2006 Posts: 87 Location: United States
| |
AmeliaR Enthusiastic Coder
Joined: 31 May 2006 Posts: 142
|
Means you hide the text inside the h2's and replace it with an image (bg image)
Reply with quote
|
| |
|
|
Lusis Backwood JR Enthusiastic Coder
Joined: 26 May 2006 Posts: 87 Location: United States
|
Ah
Yeah, I'm going to have that image with Sales, Lease, and Quick Search already in it
The rest I can do in <ul>
So you're saying float all of the H1, h2, etc left... and then use margin-left to get them lined up correctly?
Reply with quote
|
| |
|
|
AmeliaR Enthusiastic Coder
Joined: 31 May 2006 Posts: 142
| |
Lusis Backwood JR Enthusiastic Coder
Joined: 26 May 2006 Posts: 87 Location: United States
| |
AmeliaR Enthusiastic Coder
Joined: 31 May 2006 Posts: 142
| |
| Page 1 of 2 |
Goto page 1, 2 Next |
|