CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 17th, 2013, 02:44 AM
Mork-E Mork-E is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 3 Mork-E User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 40 m 10 sec
Reputation Power: 0
Really need help with CSS

Hello im new here and am currently learning CSS. Everything went ok untill now. I need to set the width of an inline element. I know it isn't possible but you can passby that problem by putting in display: inline-block

However when I tried to too that the Block width was ok but the text went to the right of the screen.

here is the code Im using now

Code:
.post1 { background-color: #000; color: #FF9500; } .post2 { background-color: #000; color: #FF9500; } .postlinksbar { background-color:#000;padding:7px;margin-top:auto;font-size:10px; }


and here is a link to the part I have trouble with

http://z13.invisionfree.com/The_Sweat_Radio/index.php?showtopic=67

Im really desperate I already tried everything

Reply With Quote
  #2  
Old January 17th, 2013, 03:36 AM
Mork-E Mork-E is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 3 Mork-E User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 40 m 10 sec
Reputation Power: 0
okay nvm, I found it. Sorry for the thread. You can close it

Reply With Quote
  #3  
Old January 17th, 2013, 12:56 PM
derpware derpware is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 6 derpware User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 11 m 2 sec
Reputation Power: 0
too late but inline elements dont do width, only block and inline block respect width (maybe table as well).

if its a span use display block or inline-block - then it will work

Reply With Quote
  #4  
Old January 17th, 2013, 01:10 PM
Mork-E Mork-E is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 3 Mork-E User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 40 m 10 sec
Reputation Power: 0
yeah found out about that earlier today. But I fixed the problem by deleting all the width value's in every element except the body. now its a fixed width for every element

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Really need help with CSS

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap