Web Layout
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsWeb DesignWeb Layout

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old June 27th, 2005, 02:06 PM
squirrelj squirrelj is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 322 squirrelj User rank is Corporal (100 - 500 Reputation Level)squirrelj User rank is Corporal (100 - 500 Reputation Level)squirrelj User rank is Corporal (100 - 500 Reputation Level)squirrelj User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 3 Days 21 h 18 m 52 sec
Reputation Power: 6
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

Reply With Quote
  #2  
Old June 28th, 2005, 02:56 AM
Lafinboy's Avatar
Lafinboy Lafinboy is offline
The Laughing Moderator
ASP Free Loyal (3000 - 3499 posts)
 
Join Date: Apr 2004
Location: Sydney, Australia
Posts: 3,267 Lafinboy User rank is Sergeant (500 - 2000 Reputation Level)Lafinboy User rank is Sergeant (500 - 2000 Reputation Level)Lafinboy User rank is Sergeant (500 - 2000 Reputation Level)Lafinboy User rank is Sergeant (500 - 2000 Reputation Level)Lafinboy User rank is Sergeant (500 - 2000 Reputation Level)  Folding Points: 29199 Folding Title: Starter FolderFolding Points: 29199 Folding Title: Starter Folder
Time spent in forums: 2 Weeks 1 Day 10 h 48 m 12 sec
Reputation Power: 15
Send a message via ICQ to Lafinboy Send a message via AIM to Lafinboy Send a message via MSN to Lafinboy Send a message via Yahoo to Lafinboy Send a message via Skype to Lafinboy
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" />

Reply With Quote
Reply

Viewing: ASP Free ForumsWeb DesignWeb Layout > Position files


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT