View Full Version : Miss-Behaving Text :(
Lewwy
March 20th, 2005, 04:59 PM
I got a text problem, I sliced my layout in Photoshop, opened in Dreamweaver then put a <div> layer for the text. It looks perfect in dreamweaver, but when uploaded, the text slides along to the left. Anyone who can fix this, will be a God in my books !
linkage.. www.evolewtion.co.uk/EW (http://www.evolewtion.co.uk/EW)
Cobol
March 20th, 2005, 05:14 PM
Strange I only see html and no flash? And yeah I dont see your problem at all your page loaded perfectly fine for me. No text problems that I can see at all.
sepremier22
March 20th, 2005, 05:18 PM
Theres a big difference in my browser and thats because you probably made it for a certain browser. All browsers interpret the code differently. The alignment between IE and Firefox is very noticable and if you dont use tables and frames, then your images are going to be different than your text.
Post your source files and I could help you.
Lewwy
March 20th, 2005, 05:23 PM
Cobol : I said nothing about Flash :P .
Sepremier : Will do mate, give me 5 mins. Actually.. How am I gonna post a html document?
sepremier22
March 20th, 2005, 05:26 PM
Do attachments. Also include the photoshop image that you sliced up.
Lewwy
March 20th, 2005, 05:46 PM
http://www.evolewtion.co.uk/EW.zip (http://www.evolewtion.co.uk/www/EW.zip)
Ill get it to work eventually.
Nope maybe I wont..
The files are too big to upload via kirupa..
So I uploaded them to my own server.. But I still cant get a link to friggin work :S
sepremier22
March 20th, 2005, 06:02 PM
Hm....harder than I thought. I usually dont use DIV and I only use tables for organizing my layouts. Sorry.
thesparky007
March 20th, 2005, 06:25 PM
everything looks fine to me
sepremier22
March 20th, 2005, 06:27 PM
what browser you using sparky?
petefs
March 20th, 2005, 08:20 PM
your table is centered.
if you want to center your divs, try giving them margin: 0 auto; ^_^
then they can be pushed a bit using left / top to match up with where you want them exactly
bwh2
March 20th, 2005, 08:57 PM
the problem is you're using absolute positioning for some div's.
ditt0
March 21st, 2005, 03:16 AM
Forge the absolute positioning. That's a real pain. Instead of inserting the slices as average images in the code, make them background images for the cells they fit in and then the text would go in those cells too, so you won't need layers.
Lewwy
March 21st, 2005, 05:34 AM
Cool.. So now I know the problem.. And sorta how to fix it.. But could I please have further instructions on making the sliced images the background of the cell. There is only ONE table in the webpage.. Im not sure if each new image, should have a new table?
ditt0
March 21st, 2005, 06:53 AM
you need to make table cells for all the images
Lewwy
March 21st, 2005, 09:39 AM
A la bruchette.
:( Its gonna take ages.. Call me stupid, but how do I make tables :P
I have never used them EVER before :|
Thanks for your patience, and help guys :)
ditt0
March 21st, 2005, 10:09 AM
http://www.echoecho.com/htmltables01.htm
Lewwy
March 21st, 2005, 10:17 AM
Thanks.. Ill do it as soon as I get in :)
In the meantime.. Could you explain what I do when ive done that?
ditt0
March 21st, 2005, 10:47 AM
It's useless to explain further on if you don't know the basic tags of a table. So first of all read and learn:) Then try to build up a table with cells for every slice you have.
ditt0
March 21st, 2005, 01:50 PM
Here's how it goes. You layout is already divided in cells. And to make the images background-images you would have instead of :
<td ><img src="spacer.gif" width="1" height="12" alt="" ></td >
this
< td background="spacer.gif" width="1" height="12" >some text </td >
I am sorry, but I cannot do the work for you. I can try to help, I can give you hints or links from where you can learn, but I cannot code up the whole site for you. No offence.
Lewwy
March 21st, 2005, 04:40 PM
None taken..
I sort of get it now anyway, Thanks :)
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.