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 09-24-2012, 04:47 PM   PM User | #1
darkvallena
New to the CF scene

 
Join Date: Apr 2011
Location: Toronto
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
darkvallena is an unknown quantity at this point
HTML div help

hello, I am having trouble with some coding on my latest protected blog post (using wordpress theme yin and yang). It's password protected, password: OC

http://www.madeinregio.com/2012/09/24/opening-ceremony/

On some browsers such as the Google Chrome browser, the placement of the text "custom fit" and "35 howard" always gets pushed down.

Both are surrounded by a div code, like the text to the left of it, but it gets pushed down for some reason.

<div style="position: relative; top: -733px; left: 330px; width: 290px; z-index: 2">
<h1><strong><font size="8">OC Branded</font>
<font size="4">White pullover- London Olympics and Flag as seen on A$APMOB</strong>
</h1></div></font>
<div style="position: relative; top: -825px; left: 615px; width: 290px; z-index: 2">
<h1><strong><font size="8">Custom Fit</font>
<font size="4">Custom Mannequins and Korean
inspired stock</strong>
</h1></div></font>


Any help is much appreciated!
darkvallena is offline   Reply With Quote
Old 09-24-2012, 07:19 PM   PM User | #2
mackenzilynn
New to the CF scene

 
Join Date: Sep 2012
Location: Columbus, OH
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
mackenzilynn is an unknown quantity at this point
The error is within your letter spacing in this css code:

Code:
h1, h2, h3, h4, h5, h6 {
font-family: "Yanone Kaffeesatz", Arial, Helvetica, sans-serif;
color: #4F4640;
text-transform: uppercase;
letter-spacing: 0.1em;
If you delete that letter spacing, the error should be resolved in chrome.
mackenzilynn is offline   Reply With Quote
Old 09-25-2012, 09:30 PM   PM User | #3
darkvallena
New to the CF scene

 
Join Date: Apr 2011
Location: Toronto
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
darkvallena is an unknown quantity at this point
ok thanks ill give it a shot. Also, where in the css am I able to make the space in between sentence lines greater, as you can see, the spacing in between sentences lines are quite close.


Last edited by darkvallena; 09-25-2012 at 09:32 PM.. Reason: forgot to add information in form of a picture
darkvallena is offline   Reply With Quote
Old 09-26-2012, 02:41 PM   PM User | #4
FootballDizzle
New to the CF scene

 
Join Date: Sep 2012
Posts: 4
Thanks: 3
Thanked 1 Time in 1 Post
FootballDizzle is an unknown quantity at this point
I believe line height spacing goes right on your html, in the specific div you need it.


CSS line-height Property

Code:
<p class="big">
This is a paragraph with a bigger line-height.<br />
This is a paragraph with a bigger line-height.<br />
This is a paragraph with a bigger line-height.<br />
This is a paragraph with a bigger line-height.<br />
</p>
FootballDizzle is offline   Reply With Quote
Old 10-02-2012, 01:51 PM   PM User | #5
darkvallena
New to the CF scene

 
Join Date: Apr 2011
Location: Toronto
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
darkvallena is an unknown quantity at this point
I deleted the line height

from this code:
h1, h2, h3, h4, h5, h6 {
font-family: "Yanone Kaffeesatz", Arial, Helvetica, sans-serif;
color: #4F4640;
text-transform: uppercase;
letter-spacing: 0.1em;

and it still doesn't fit in line in Google Chrome browsers
darkvallena is offline   Reply With Quote
Old 10-02-2012, 01:52 PM   PM User | #6
darkvallena
New to the CF scene

 
Join Date: Apr 2011
Location: Toronto
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
darkvallena is an unknown quantity at this point
actually it works! THANKS
darkvallena 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 08:28 PM.


Advertisement
Log in to turn off these ads.