473,387 Members | 1,844 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Proper Markup and CSS

tharden3
916 512MB
I have a few questions. I'm designing a web page to learn HTML and CSS. I wanted to know if I'm basically doing this right. I guess there isn't a right way, but maybe a better way of doing things:
- I've been using JPEG's (JPEG, JPG) and GIF (GIF) images. Both are compressed image formats, so they save load-time if I'm not mistaken. Is this good practice?
- I have used close to zero margins in my CSS. I just didn't need them. Everything looks right in every browser. Are margins neccessary?
- What other things do I have to take into account besides file compression, screen-reader accessibility, and Browser accessibility? Is there something else I should watch out for/make my website compatible with? By this I mean:
When you make a web site, it should be able to be read by a screen-reader. This is something "To watch out for when making a site". What other "Watch-out-for" things are out there that I need to keep in mind when designing?
Jul 31 '08 #1
2 1099
drhowarddrfine
7,435 Expert 4TB
- I've been using JPEG's (JPEG, JPG) and GIF (GIF) images. Both are compressed image formats, so they save load-time if I'm not mistaken. Is this good practice?
Yes, but use PNG instead of GIF. Better file compression with improved images.
- I have used close to zero margins in my CSS. I just didn't need them. Everything looks right in every browser. Are margins neccessary?
If the defaults work for you then, no, you don't need to reset them.
Jul 31 '08 #2
oler1s
671 Expert 512MB
I’ve been using JPEG’s (JPEG, JPG) and GIF (GIF) images. Both are compressed image formats, so they save load-time if I’m not mistaken. Is this good practice?
Yes, but using non-compressed formats (i.e. BMP) isn’t an even passable option.

Are margins neccessary?
No. You are not required to have margins.

What other “Watch-out-for” things are out there that I need to keep in mind when designing?
Ultimately, the question is, is the website usable. You have to consider the possible audience (someone using a laptop, someone with visual impairment on an old crt, someone using an iphone, or someone with a text-to-speech reader, and so on. What each person wants.

I suggest you explore the topic of usability. You might have to buy some books on the subject, but if you are interested in good interface design, then it is something you should be knowledgeable about.
Jul 31 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

30
by: Reinhold Birkenfeld | last post by:
Hello, I know that there are different YAML engines for Python out there (Syck, PyYaml, more?). Which one do you use, and why? For those of you who don't know what YAML is: visit...
0
by: MarionEll | last post by:
Montreal in August: what could be better? Great food, great coffee, and a funky hotel full of markup geeks! CALL FOR PARTICIPATION EXTREME MARKUP LANGUAGES 2004 ABOUT THE CONFERENCE ...
0
by: MarionEll | last post by:
--------------------------------------------------------- ************* Complete Program Available ************** ************ Late Breaking Sessions Added ************* *********** Extreme...
8
by: CMAR | last post by:
I create my website using Front Page 2000. I notice that none of my pages have a DocType statement at the top. I have read that if you want IE6 to use "Standards mode" rather than the "Quirks...
59
by: Haines Brown | last post by:
I've not had a clear definition in my mind of "citation," and so have avoided it. For example, if I suggest that the reputation of the New York Times has suffered, is that a citation? I suppose...
38
by: Jukka K. Korpela | last post by:
As well all know, valid markup is important... but when trying to find a convincing modern argument in favor of this, I found pages like http://www.htmlhelp.com/tools/validator/reasons.html which...
14
by: Viken Karaguesian | last post by:
Hello all, It stinks being a newbie! One thing that I'm not sure about with CSS is: where is the "proper" place to put font attibutes? This has me a little confused. Take the below style sheet...
47
by: Andy Dingley | last post by:
Assume an English language page, linking to a foreign history resource that's only available in a foreign language. Any suggestions on appropriate "best practice" markup, particularly regarding the...
0
drhowarddrfine
by: drhowarddrfine | last post by:
The Doctype or DTD Many coders get confused by all the talk of doctypes and how they affect browsers and the display of their web pages. This article will get right to the point about doctypes...
6
by: Homer J. Simpson | last post by:
Hi all, I have enough experience with HTML/classic ASP to get by, and I'm trying to learn ASP.NET. Traditionally, I've taken the habit of breaking out extra-long CSS files into multiple,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.