Solved

HTML & CSS LAYOUT

Posted on 2011-03-19
4
221 Views
Last Modified: 2012-05-11
Hi,
I build this site and wondering that, the code in CSS, is cross browser compatible or not? I've already checked the site in all latest version browsers(IE, FF, OPERA & SAFARI)and its working fine but as a newbie in CSS, looking help. if somebody read my CSS/HTML code and help me out to find out fixes in my code would be deeply appreciatable.

Also wondering, when should I need to use positioning in CSS or use FLOAT instead of positioning. Looking forward for response. site.zip
0
Comment
Question by:s_hausen
  • 2
  • 2
4 Comments
 
LVL 27

Expert Comment

by:Lukasz Chmielewski
ID: 35172711
Well, it looks and feels the same in IE and Opera.
For the validation, you should definetely use W3C Validator for HTML / CSS
It will tell you more then you want to know ;)
http://validator.w3.org/
http://jigsaw.w3.org/css-validator/
0
 

Author Comment

by:s_hausen
ID: 35172780
Hi Roads,
Its look like the css is all good, the message is Congratulations! No Error Found.
there's some errors in html which can be fixed easily.

I was wondering, when its good to use positioning in css and its only specific with images. secondly when should i use the height property in my css. and one more last thing if i'm using many floating div stacking on each other, do i need to use overflow in each divs??
0
 
LVL 27

Accepted Solution

by:
Lukasz Chmielewski earned 500 total points
ID: 35172880
Positioning in CSS in my opinion is ok - it keeps the code clear and easy to move with only css properties.
Height property as well as width should be used just for the fixed elements which are not "moving" dynamically on the page. As for the floating divs - I use them all the time and only few times I needed to use overflow hidden - I think they should be - even floated - placed just right not to use the overflow.
0
 

Author Closing Comment

by:s_hausen
ID: 35173754
thx
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now