Log In · Register

 
 
Closed TopicStart new topic
Help with aligning blog text
Joswea
post Jan 22 2006, 12:19 PM
Post #1


Newbie
*

Group: Member
Posts: 3
Joined: Jan 2006
Member No: 354,063



Alright. Here is my Xanga site. First skin I made, and I'm rather proud of it, even though I did have to base it off of someone elses design.

The problem is, as you can see, the text does not fit upon my little box well at all. It's down way too far, and over to the left just a little too far. I'd like to be able to get it to fight perfectly in my box, and I know that I can, I just don't know how at the moment.

Here's my code, if you need it to refer to. Any help would be greatly appreciated. I'm not a noob to HTML or CSS by any stretch of the imagination, but I'm certainly not a vet. lol You guys have any suggestions?

Edit: Just saw that stretching out the page with my code was a bda idea- so I've attached the code. Hope it helps. ^_^
Attached File(s)
Attached File  Franz.htm ( 4.79K ) Number of downloads: 7
 
 
Jeria
post Jan 22 2006, 06:48 PM
Post #2


Newbie
*

Group: Member
Posts: 9
Joined: Sep 2005
Member No: 236,056



I could try helping you. I'm not too great, but I still want to try atleast.

I think you'd have to adjust the margin-top number, near the bottom of the code.

CODE
<div id="content" style="margin-top: -275px;
width: 254px;
height: 240px;
margin-left: -5px;

overflow: auto; filter: chroma(color="#DCD6BA);">
<!--FIN-->


The smaller the number, the less space at the top of your layout. I'm thinking you'd have to make the number ((since we're working with negative numbers)) larger. If you don't understand, try just messing with it; try changing it from -275 to -265, or -285 and see if you can get the text aligned with the layout. @_@ I hope it works.
 
Joswea
post Jan 22 2006, 07:46 PM
Post #3


Newbie
*

Group: Member
Posts: 3
Joined: Jan 2006
Member No: 354,063



*smacks forehead*

Wow..... I feel stupid. Should've realized that was the problem.

Thanks a bunch for your help though Jeria. No telling how long it would've taken me to finally realize that simple solution. lol I went ahead and changed the top margin to '-325' and the left to '-10'. That put everything about where I wanted.

Now a second question pops up- Does Firefox not allow CSS or HTML to change the color and size of the scroll bars, or is it a seperate code I'm not using? I have it changed fine in IE (could use a little editing, but that's beside the point), but it doesn't change in Firefox. So.. yeah. Just my own curiosity. It doesn't bother me TOO much, but it doesn't exactly match my color scheme. =P
 
Kenado
post Jan 22 2006, 07:51 PM
Post #4


Senior Member
*******

Group: Member
Posts: 3,519
Joined: Feb 2005
Member No: 102,857



Yeah it's impossible to change the color of the scrollbars in firefox, well of my knowledge that is.
 
Joswea
post Jan 22 2006, 08:06 PM
Post #5


Newbie
*

Group: Member
Posts: 3
Joined: Jan 2006
Member No: 354,063



Ah.. Well that's rather disappointing. Oh well.

Thank you all for your help. It's greatly appreciated. ^_^
 
Kenado
post Jan 22 2006, 08:08 PM
Post #6


Senior Member
*******

Group: Member
Posts: 3,519
Joined: Feb 2005
Member No: 102,857



Closed.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: