Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-26-2007, 04:03 PM   PM User | #1
katie_lostsoul
Regular Coder

 
Join Date: May 2004
Posts: 121
Thanks: 12
Thanked 0 Times in 0 Posts
katie_lostsoul is an unknown quantity at this point
Photoshop to CSS Question Con't

I posted here about moving templates from photoshop and incorporating them into CSS on a site.

I've completely re-done on side of my site with CSS: http://www.tombraiders.net/katie/MyT...erStories.html

I want to turn this page: http://www.tombraiders.net/katie/index2.html into CSS as well, instead of just having to constantly update the image.

Can anyone please help?
katie_lostsoul is offline   Reply With Quote
Old 06-26-2007, 04:11 PM   PM User | #2
kosstr12
Regular Coder

 
kosstr12's Avatar
 
Join Date: Apr 2007
Location: Woodstock, Georgia
Posts: 428
Thanks: 7
Thanked 5 Times in 5 Posts
kosstr12 is on a distinguished road
I dont quite understand what you are tryingf to do
kosstr12 is offline   Reply With Quote
Old 06-26-2007, 04:21 PM   PM User | #3
goodespeler
New Coder

 
Join Date: Nov 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
goodespeler is an unknown quantity at this point
Basically, you want to convert (I'm guessing) the date portion of image to text so that you don't have to recreate the image every time. Right?
goodespeler is offline   Reply With Quote
Old 06-26-2007, 04:21 PM   PM User | #4
katie_lostsoul
Regular Coder

 
Join Date: May 2004
Posts: 121
Thanks: 12
Thanked 0 Times in 0 Posts
katie_lostsoul is an unknown quantity at this point
On my homepage, the huge image with updates, etc is an image. I want to be able to type it in like on my stories page.

In other words I want to get rid of having to update the image and be able to update like my other section. Was just wondering how I could do this with the current layout.
katie_lostsoul is offline   Reply With Quote
Old 06-26-2007, 05:12 PM   PM User | #5
kosstr12
Regular Coder

 
kosstr12's Avatar
 
Join Date: Apr 2007
Location: Woodstock, Georgia
Posts: 428
Thanks: 7
Thanked 5 Times in 5 Posts
kosstr12 is on a distinguished road
Make the template without the text on it, then once you get it up on your site use css positioning to get in the right place
kosstr12 is offline   Reply With Quote
Old 06-26-2007, 05:19 PM   PM User | #6
katie_lostsoul
Regular Coder

 
Join Date: May 2004
Posts: 121
Thanks: 12
Thanked 0 Times in 0 Posts
katie_lostsoul is an unknown quantity at this point
See that's where I get lost :P
katie_lostsoul is offline   Reply With Quote
Old 06-26-2007, 05:29 PM   PM User | #7
kosstr12
Regular Coder

 
kosstr12's Avatar
 
Join Date: Apr 2007
Location: Woodstock, Georgia
Posts: 428
Thanks: 7
Thanked 5 Times in 5 Posts
kosstr12 is on a distinguished road
just all the text that you currently have on there off
kosstr12 is offline   Reply With Quote
Old 06-26-2007, 05:56 PM   PM User | #8
fl00d
Regular Coder

 
Join Date: Mar 2007
Location: Quebec
Posts: 261
Thanks: 6
Thanked 7 Times in 7 Posts
fl00d has a little shameless behaviour in the past
Create a division (div id="name-here"), then for that division use that image as the background. Then you can type and edit it through the HTML page rather then having to open Photoshop and change the text and re-save.

Example code would be something like this:

CSS:
Code:
#main_body {
background: url('background_main.gif') <-- this sets the image as the background for that division
}
HTML:
Code:
<div id="main_body">Hello this is the main body</div>
Now the text "Hello this is the main body" would appear on top of the image. Generally, I create another division for the text, so I can give it margins and padding etc.

Hope this helped
fl00d is offline   Reply With Quote
Old 06-26-2007, 06:27 PM   PM User | #9
katie_lostsoul
Regular Coder

 
Join Date: May 2004
Posts: 121
Thanks: 12
Thanked 0 Times in 0 Posts
katie_lostsoul is an unknown quantity at this point
Thanks, I'll give it a try
katie_lostsoul is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:41 AM.


Advertisement
Log in to turn off these ads.