| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Position files
I use the following table tags to position my tables at various places on my page
Code:
<STYLE TYPE="text/css">
<!--
a:link {color: #009933}
H3 { color= green; font-family: verdana; font-size: 22px}
P { color= "#000000"; font-family: verdana; font-size: 12px}
#table1 {POSITION: absolute; TOP: 10px; LEFT:-12px; WIDTH:300px}
#table2 {POSITION: absolute; TOP: 115px; LEFT:200px; WIDTH:570px}
#table3 {POSITION: absolute; TOP: 115px; LEFT:5px; WIDTH:180px}
#table4 {POSITION: absolute; TOP: 250px; LEFT:5px; WIDTH:180px}
#table5 {POSITION: absolute; TOP: 400px; LEFT:5px; WIDTH:180px}
#table6 {POSITION: absolute; TOP: 138px; LEFT:420px; WIDTH:350px}
#table7 {POSITION: absolute; TOP: 550px; LEFT:250px; WIDTH:390px}
-->
</style>
Then my tables are coded like this Code:
<table ID="table1"> <tr> <img align="left" src="header.gif"> </tr> </table> Would it be possible to save these files in a seperate file so if i need to make any changes i can just do it once not for every page? Cheers |
|
#2
|
||||
|
||||
|
What files do you want to save in a separate file?
I assume you mean the style declarations. If so then you can save all of your style declarations in a .css file, and link to that file in each page. Note that the .css file does not need the <style> tags. In each page then that needs to reference the .css file place a link in the head section like: Code:
<link rel="stylesheet" href="themes/style/default05.css" type="text/css" title="Default Stylesheet 05" />
__________________
-
thought-after | my thoughts on web development Get Firefox, the developers browser Budget hosting - recommended [/left] |
![]() |
| Viewing: ASP Free Forums > Web Design > Web Layout > Position files |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|