DIV question

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
User avatar
DaRichMan
Forum Members
Forum Members
Posts: 64
Joined: Mon Oct 20, 2008 11:31 am

DIV question

Post by DaRichMan »

Is this possible with only divs and css or do i still need to make use of tables?
Attachments
divs.jpg
User avatar
CWebguy
Forum Members
Forum Members
Posts: 139
Joined: Thu Jul 24, 2008 3:31 am

Re: DIV question

Post by CWebguy »

yes, it's very much possible.  Try using floats.

Lance
CMSMS Made
User avatar
DaRichMan
Forum Members
Forum Members
Posts: 64
Joined: Mon Oct 20, 2008 11:31 am

Re: DIV question

Post by DaRichMan »

CWebguy or ??? Can you give some hints or a sample ?

A 1000 thanx!  ;)
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm

Re: DIV question

Post by Greg »

Take a look at Stu Nicholls site - in particular this page http://www.cssplay.co.uk/layouts/three-column-layouts

This is coded for a 'page' but could be easily adapted to a table like block.
Greg
User avatar
DaRichMan
Forum Members
Forum Members
Posts: 64
Joined: Mon Oct 20, 2008 11:31 am

Re: DIV question

Post by DaRichMan »

Thanx Greg, that website is a great help
User avatar
DaRichMan
Forum Members
Forum Members
Posts: 64
Joined: Mon Oct 20, 2008 11:31 am

Re: DIV question

Post by DaRichMan »

Ok, after hours of finding out how, I almost finished turning a table based site into a div/css site. But there are a few thing and I can't find what’s wrong (not enough knowledge :-[);

• The bottom part needs to be the rest of the available height
• The menu needs to be aligned to the right
• The shadow to the right is not visible in Firefox, Chrome . . .
• The shadow to the right is visible in IE,  but there is a gap between it and the photo to the left

Please take a look at the site: http://www.christoffels.nl/index.php and I hope there is somebody who will help me :-*
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm

Re: DIV question

Post by Greg »

Bottom part:
#barok_onder {height: 100%} or 50% ??

fix for menu being aligned right
#primary-nav {float: right;}

shadow ?
Greg
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: DIV question

Post by calguy1000 »

Okay.

This is not a CMS Made Simple specific topic.

Lets move it elsewhere people.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
DaRichMan
Forum Members
Forum Members
Posts: 64
Joined: Mon Oct 20, 2008 11:31 am

Re: DIV question

Post by DaRichMan »

Greg wrote: Bottom part:
#barok_onder {height: 100%} or 50% ??

fix for menu being aligned right
#primary-nav {float: right;}

shadow ?
#primary-nav {float: right;} » Solved the menu isue
Thanx! ;D
calguy1000 wrote: Okay.

This is not a CMS Made Simple specific topic.

Lets move it elsewhere people.
Why? Is there no support allowed for css/div questions? ???
Locked

Return to “Layout and Design (CSS & HTML)”