|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
CSS Layout Problem + CSS Sliding Doors & Lists!
hello everyone!
i just read 2 amazing articles on a list apart: Sliding Doors of CSS CSS Design: Taming Lists after reading them.. i decided to implement them on my own content manager to get rid of the useless tables!!! i've included 2 pictures... 1 of them is the intended outcome(admin layout.gif) and the other is the one under construction (untitled.gif). feel free to download my source code in the zip file. ![]() here's the link to download the source code: http://www.oasisfanatic.com/docs/css.zip this the page's code: PHP Code:
ok... now for my problem. this is the first time i'm doing css layout. i can get the tabs and everything at top of my page right. its the content that got my stuck. one thing that is bothering my is the "content" div. i can't seem to get it to display. within the "content" div there are 2 more divs, content_left and content_right. I have soem challenges getting them to fit right. i suspect is its something to do with the absolute positioning and floats. but i am not too sure. thanks in advance for your help! this CSS Sliding Doors is a life saver!! Gotta check it out! make a whole list of tabs with the <UL> <LI> tags!!
__________________
My Sites: OasisFanatic.com, My Blog My Ad Networks: Casale , NetAudioAds , AdSense, Clicksor , AdBrite |
|
#2
|
||||
|
||||
|
Code:
<!-- SUB HEADER - START -->
<div id="sub_header" class="black_13"><b>Sub Section</b></div></div>
<!-- SUB HEADER - END -->
you got a closing div-tag to many, probably why you have problem with the content-div by the way you need to close every tag, use <br /> not <br> (best of all use css, as you use them to controll the layout ) and you need to remove border="0" from the logo image, not allowed in xhtml strict. again use css. ie, #header_logo img{ border:0;} |
|
#3
|
||||
|
||||
|
thanks for the reply.
i've got the extra </div> out of the way. do u know why the div content does not show even though there are 3 divs in it? here's a scaled down code: <div id=content> <div id=sub header> </div> <div=content_left></div> <div=content_right></div> </div> ********************* content right is a fixed width of 226px. how do i make content_left take up all the space that is to the left of content_right. here's a little illustration to what i am trying to say. ==================== sub_header ==================== content_left |content_right | | | | | | | | ==================== all this is nested in the div content. thanks a lot guys! |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > CSS Layout Problem + CSS Sliding Doors & Lists! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|