Sign in to follow this  

[web] CSS Layout

This topic is 3628 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I was going to use tables to organize the different parts of my site. But I read that I should instead use CSS to design the page layout. Are there any disadvantages of using CSS for this? I also want to use ASP.NET 2.0 and a master page. So in this case, my master page would use the CSS layout and all the content pages would get the same layout ???

Share this post


Link to post
Share on other sites
The disadvantage of CSS is that it can be more difficult to create your design and have it render the same across browsers. When I work with CSS I keep a browser compatibility table close at hand and a clear picture of what browsers I am planning on supporting.

Share this post


Link to post
Share on other sites
I think you'll have alot of reading-work about good webdesign.

There are some important concepts to keep in mind:
- Seperate content, markup, and behaviour ((x)html, css, javascript)
- Semantic coding! (only know one good article about that, and it's in dutch, so find one for yourself, maybe I'll write one)
- compatibility: make it work everywhere (it almost comes natural when you do the other two good, use css hacks for the rest)

Now first learn structuring a page with (x)html in a good way, it's something which needs some practice, and actually it's best you learn from someone with experience. (like I did, I learned from a crazy teacher who could see the indention of your code was pixel wrong from 10 meter distance, but I learned in 2 months)
Then you learn css, step by step. Learn markup first, then start with positioning. Make sure you understand the box-model, and know the difference between different types of positioning. If you got here, you can start making good websites.
You can learn javascript if you feel you need it...

Now why is this important? Because there are different browsers ont the market, and they all have some specific behaviour. There is internet explorer (which is actually starting to support the standards better), firefox, opera, safari, ...
and ofcourse: screenreaders (who read webpages for blind people)
It is important to make your webpage accessible to everyone, not just to ie users, or ff, or opera, but to everyone.
And why? Maybe because you feel like everyone has the right to be able to read (or hear) the content of your webpage?
Don't think so...
It's because all of these people are potential clients, and if the client can not visit your webpage with his browser, he will not come back, and you loose a potential client.

But hey, feel free to say f*ck standards, and make your website in a wysiwyg editor or with crappy html, this is just what I think. (and the rich guy who taught me these things...)

Share this post


Link to post
Share on other sites

This topic is 3628 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this