Site for preview, need html help (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets and Accessibility



Message


Lazykatz -> Site for preview, need html help (2/23/2005 6:36:55)

Hi all,

Questions about html validating.

I use an image (spacer.gif) to separate sections of the page.

When I validate the html, it/they comes back with..
ID "SPACER" already defined, ID "SPACER" first defined here..etc
multiple times, because I use it throughout the page.

Should I copy the image, rename it, for each time I use it?
How do I determine what DOCTYPE identification is needed?


Preview latest editon.. it is getting there. CSS got a purrrfect validation.
The html still needs work, but I'm determined to do this.

There is a couple of issues posted on the page I could use some help with,
fonts and applying new Div's to a specific section of page.
http://fpwm.lazykatz.com/blue/new_page_3a.htm

For those who have not seen the previous mess..
1st attempt.. http://fpwm.lazykatz.com/blue/
2nd attempt.. http://fpwm.lazykatz.com/blue/new_page_3.htm

With help from the members, links and searching of this forum, and elsewhere,
I am accomplishing the learning of CSS. Thanks All!

All comments of help, feedback, suggestions and criticism are welcomed.

Thankz All in Advanze,
Grizz [8D]




jaybee -> RE: Site for preview, need html help (2/23/2005 7:16:02)

Change #spacer to .spacer
Change all the ID="spacer" to class="spacer"

You can only use ID once on a page, class can be re-used.

Your Doctype depends on what code you're writing. Looking at your code it's as close to HTML4 strict as you'll get but it's not XHTML. There are definitions and training on www.w3schools.org.

Your code has a number of end tags </......> with no start tag. Apart from that I can't see any major problems.

As for problem 1 on the page, if you reduce the font any further it'll be invisible.

If it's looking too big on your monitor check your text size settings in your browser and make sure they're at normal.




c1sissy -> RE: Site for preview, need html help (2/23/2005 7:42:51)

Hi Lazykatz
I'm not sure if I suggested this to you or not, but if you can afford it, you should sign up for the web design classes that LVS ONLINE LEARNING has to offer. You can start with their first class on xhtml and move your way up to the others. Their css classes are pretty good.

I highly recomend them to anyone who is learning this coding. Viki, the instructor is excellent, and works side by side with you to help you out with any problems, and makes sure that you understand what it is that you are doing.




Lazykatz -> RE: Site for preview, need html help (2/23/2005 17:03:27)

Thanks JB,
The use of class solved the spacer issue along with
a couple other issues I was searching for including
the 2nd font question on page. Which is better,
xhtml or xml, this will help solve doctype.

Thanks Deb,
Yes, you told me about the classes when I first started,
have it noted here to make sure I use you as a referal
so you'll get the credit. Hope you kicked the virus's butt
by now...lol

Now I'm going to tear the page apart and try to use
individual div's with Z/X positioning to see if I can
still get everything to look the same in all browsers.

Thanks again,
Grizz [8D]




bobby -> RE: Site for preview, need html help (2/23/2005 18:00:02)

quote:

Now I'm going to tear the page apart and try to use
individual div's with Z/X positioning to see if I can
still get everything to look the same in all browsers.

brave... very brave...

[:D]




c1sissy -> RE: Site for preview, need html help (2/23/2005 19:13:28)

One thing, you might not need to use the z index.

Just keep posting as you are going along. You can absolute position to place things over top of other things.

Get into those courses! They are open right now. I'm thinking about taking the seo course. Your first course would be 25.00. I highly recomend that you take the one that is listed first, gives you info on css and also book recomendations that you can pick out on amazon.com. They have the cheapest books out there, most of the time.

re:virus? LOL! It keeps going into hiding, you know how you do a scan, and they are still there? You don't get all the parts? Well that is how this person virus is. It keeps going around and around all of us. Getting there though, and thanks for asking, I really appreciate it.[;)]

<edit>But then again you might need the z-index, still reading up on it and with AP divs it could be necessary? Awaiting more expertise information to appear via Jaybee or Bobby, [;)]</edit>




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625