Solved

HTML & CSS LAYOUT

Posted on 2011-03-19
4
225 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

729 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