Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-17-2011, 09:22 AM   #1
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
Need CSS help pleaseee

Logo is left aligned in FF and Chrome but not IE


CSS is below:


Code:
#header .line1 .logo a img {
	width: 456px;
	height: 50px;

What can i add to make it left aligned for a image?
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2011, 09:28 AM   #2
machinegunkelly
Confirmed User
 
machinegunkelly's Avatar
 
Join Date: Jun 2003
Posts: 3,284
.logo {
text-align:left;}

Should likely do it ?

Would have to see the code you're working with man.
__________________
dead.
machinegunkelly is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2011, 09:28 AM   #3
mc-nudes
Confirmed User
 
mc-nudes's Avatar
 
Join Date: Jun 2008
Posts: 191
float: left;
__________________


http://www.MC-NUDES.com | daily female seduction
------------------------------------------------
DAILY UPDATES SINCE 2004 - 100% EXCLUSIVE - CCBILL CASCADING BILLING - 255 DAYS CCBILL COOKIE LIFETIME
EMAIL: [email protected]
mc-nudes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2011, 09:39 AM   #4
adult-help
Confirmed User
 
Industry Role:
Join Date: Mar 2008
Posts: 2,450
left aligned to what? without code is just guessing but you have to set parent element to text-align:left like machinegunkelly said.Could not work in some cases - you gave us too little..
adult-help is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2011, 09:40 AM   #5
KickAssJesse
Confirmed User
 
KickAssJesse's Avatar
 
Industry Role:
Join Date: Jul 2008
Location: Los Angeles
Posts: 942
Quote:
Originally Posted by machinegunkelly View Post
.logo {
text-align:left;}

Should likely do it ?

Would have to see the code you're working with man.
Agreed; it can be one of many things, however, based on what was provided, this makes the most sense.

Quote:
Originally Posted by mc-nudes View Post
float: left;
Somewhat correct, however you must clear floats after the div or it'll run into other position/spacing issues.
__________________

Contact - email: jesse~AT~atkcash~DOT~com - Skype: kickassjesse - ICQ: 386185547
ATK Cash $$$
KickAssJesse is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2011, 09:42 AM   #6
machinegunkelly
Confirmed User
 
machinegunkelly's Avatar
 
Join Date: Jun 2003
Posts: 3,284
Quote:
Originally Posted by KickAssJesse View Post
Agreed; it can be one of many things, however, based on what was provided, this makes the most sense.



Somewhat correct, however you must clear floats after the div or it'll run into other position/spacing issues.
Yeah I wasn't gonna suggest a float, it will lead him to a nightmare if he's not versed on clear's etc.

We need the header code to give the best answer.
__________________
dead.

Last edited by machinegunkelly; 03-17-2011 at 09:44 AM.. Reason: evading grammar police
machinegunkelly is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2011, 09:49 AM   #7
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
Sec lololol let me get you DATA!!!!!!!!! lolol
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2011, 10:03 AM   #8
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
Code:
<div class="line1">
  <div class="logo">
    <a href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/xlogo.gif" alt="" align="left"></a>
  </div>
  {include file="customer/tabs.tpl"}
  {include file="customer/phones.tpl"}
</div>

Thats in the template
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2011, 10:07 AM   #9
machinegunkelly
Confirmed User
 
machinegunkelly's Avatar
 
Join Date: Jun 2003
Posts: 3,284
Yeah, I'd try the CSS I put above then.
__________________
dead.
machinegunkelly is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2011, 10:09 AM   #10
KickAssJesse
Confirmed User
 
KickAssJesse's Avatar
 
Industry Role:
Join Date: Jul 2008
Location: Los Angeles
Posts: 942
Code:
<div class="line1">
  <div class="logo" style="text-align:left;">
    <a href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/xlogo.gif" alt=""></a>
  </div>
  {include file="customer/tabs.tpl"}
  {include file="customer/phones.tpl"}
</div>
I would removed the align="left" from the image unless you have content to the right of it.
Adding the style of text-align: left should solve your problem.
__________________

Contact - email: jesse~AT~atkcash~DOT~com - Skype: kickassjesse - ICQ: 386185547
ATK Cash $$$
KickAssJesse is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2011, 10:31 AM   #11
Davy
Confirmed User
 
Davy's Avatar
 
Industry Role:
Join Date: Apr 2006
Location: Germany
Posts: 4,323
Float left and then a clearing div afterwards.
__________________
---
ICQ 14-76-98 <-- I don't use this at all
Davy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2011, 11:48 AM   #12
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
Quote:
Originally Posted by Davy View Post
Float left and then a clearing div afterwards.
float:right; didnt do the trick
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2011, 11:51 AM   #13
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
Quote:
Originally Posted by KickAssJesse View Post
Code:
<div class="line1">
  <div class="logo" style="text-align:left;">
    <a href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/xlogo.gif" alt=""></a>
  </div>
  {include file="customer/tabs.tpl"}
  {include file="customer/phones.tpl"}
</div>
I would removed the align="left" from the image unless you have content to the right of it.
Adding the style of text-align: left should solve your problem.
text-align: left didnt help either
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2011, 12:00 PM   #14
redwhiteandblue
Bollocks
 
redwhiteandblue's Avatar
 
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,792
Quote:
Originally Posted by Juicy D. Links View Post
text-align: left didnt help either
It should be the CSS machinegunkelly posted. But maybe in IE anchors don't inherit their text alignment from the parent or something, so it might be

Code:
.logo a 
{ 
text-align:left;
}
redwhiteandblue is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2011, 12:20 PM   #15
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
Quote:
Originally Posted by redwhiteandblue View Post
It should be the CSS machinegunkelly posted. But maybe in IE anchors don't inherit their text alignment from the parent or something, so it might be

Code:
.logo a 
{ 
text-align:left;
}
I am gonna look at the CSS for the admin section which is working

it shows

Code:
.HeadLogo {
	PADDING-LEFT: 27px;
	TEXT-ALIGN: left;
  HEIGHT: 65px;
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2011, 12:25 PM   #16
redwhiteandblue
Bollocks
 
redwhiteandblue's Avatar
 
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,792
Maybe set the width and height of the containing div:

Code:
.logo 
{
width:100%;
height:auto;
text-align:left;
}
redwhiteandblue is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2011, 12:37 PM   #17
machinegunkelly
Confirmed User
 
machinegunkelly's Avatar
 
Join Date: Jun 2003
Posts: 3,284
With IE, it could be fuckin' anything... god damned browser.
the chances of us solving this over a message board are likely slim.

I sent you an ICQ juicy, I'll take a look at the code for ya if you link me.
__________________
dead.
machinegunkelly is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.