PDA

View Full Version : html/css/audio



dejv
28 Oct 2007, 06:55 AM
i m doing a website for an assignment and i wish to remove the frame borders, i need to remove the using css

tried this :


-----------------
css file:
-----------------

#border {
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
}

----------------------
index.html
---------------------

<head>
<div id="border">
framesets etc....
</div>
</head>


-----------------------------------------

and i have got these errors from the validation tool .. any suggestion how can i reduce/ remove them ?

click me (http://validator.w3.org/check?uri=http%3A%2F%2Fdave.xtremelimits.net%2Fassignment%2F&charset=%28detect+automatically%29&doctype=Inline&group=0)

edit:
how can i insert audio/video , cause i used the enbed tag and it works in internet explorer but doesnt work on firefox :S

Wickham
28 Oct 2007, 12:43 PM
You have picked on two difficult areas for validation as browsers need different code for frameset borders and for audio/video. I suspect that a lot of people accept a validation error if the page works.

See http://forums.htmlcenter.com/showthread.php?t=2613 regarding framest borders.

Most coders use an object tag with a nested embed tag inside for audio/video even though the embed tag doesn't validate; it's still widely used.

There are so many sound and video formats and the code may vary depending on which you want - Flash swf or QuickTime format or mp3, mpg, there are lots.

Have a look at w3schools:-
http://www.w3schools.com/media/default.asp
and
http://www.boutell.com/newfaq/creating/playlist.html