cheyana
01-23-2003, 03:07 PM
is it possible to have css load more than one image ? I have a basic css style sheet and an html index file that loads up a little back ground image with the rest of the sliced up image positioned and loaded by tables. I'd like to be able to have the css style do all the image loading so i don't need to repeat the html tables in every page that wants the whole image.
this is what it looks like:
HTML>
<HEAD>
<meta name="linked-style-sheet-name" value="Embedded style sheet">
<meta name="window-location" value="{ 25 25 550 854 }">
<meta name="targetted-browsers" value="NS4.0 NS6 IE4.0 IE5">
<TITLE> </TITLE>
<link rel="stylesheet" href="css.css" type="text/css">
</HEAD>
<BODY background="bg.jpg">
<!-- Begin Table -->
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="780" HEIGHT="500">
<TR>
<TD ROWSPAN="1" COLSPAN="1" WIDTH="780" HEIGHT="100">
<IMG NAME="lost0" SRC="slice1.jpg" width="780" height="100" BORDER="0"></TD>
</TR>
... it continues to load a few more slices.
</TABLE>
<!-- End Table -->
.... the rest of html index
Can i somehow use background-image:url(http://blahblah/image.jpg) and have the css also load the slices ?
puzzled ... trying to learn css and html
this is what it looks like:
HTML>
<HEAD>
<meta name="linked-style-sheet-name" value="Embedded style sheet">
<meta name="window-location" value="{ 25 25 550 854 }">
<meta name="targetted-browsers" value="NS4.0 NS6 IE4.0 IE5">
<TITLE> </TITLE>
<link rel="stylesheet" href="css.css" type="text/css">
</HEAD>
<BODY background="bg.jpg">
<!-- Begin Table -->
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="780" HEIGHT="500">
<TR>
<TD ROWSPAN="1" COLSPAN="1" WIDTH="780" HEIGHT="100">
<IMG NAME="lost0" SRC="slice1.jpg" width="780" height="100" BORDER="0"></TD>
</TR>
... it continues to load a few more slices.
</TABLE>
<!-- End Table -->
.... the rest of html index
Can i somehow use background-image:url(http://blahblah/image.jpg) and have the css also load the slices ?
puzzled ... trying to learn css and html