Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 824 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

More CSS troubles..

Thread title: More CSS troubles..
Closed Thread  
Page 2 of 2 < 1 2
    Thread tools Search this thread Display Modes  
12-28-2006, 09:27 PM
#11
Adam S. is offline Adam S.
Adam S.'s Avatar
Status: Senior Member
Join date: Aug 2006
Location: New Brunswick, Canada
Expertise: Coding / programming
Software: NotePad
 
Posts: 824
iTrader: 9 / 100%
 

Adam S. is on a distinguished road

  Old

I did as you said but it's still not looking good.

12-28-2006, 11:06 PM
#12
Andrew R is offline Andrew R
Status: Request a custom title
Join date: Dec 2005
Location: Arizona
Expertise:
Software:
 
Posts: 5,200
iTrader: 17 / 95%
 

Andrew R is on a distinguished road

  Old

Well, I have no idea why you have the same exact code on both boxes, but only one works. You are using classes, and everything looks good. I'm befuddled.

12-28-2006, 11:39 PM
#13
Joe is offline Joe
Status: Custom User Title
Join date: Apr 2005
Location:
Expertise:
Software:
 
Posts: 2,297
iTrader: 0 / 0%
 

Joe is on a distinguished road

  Old

Edit: I've had another look and I can see what the problem is, however, listen to Andrew and sort out the code you have. I would suggest coding each content box as follows:

HTML Code:
<div class="">
<h2>Title</h2>
<p>Content</p>
<p>More Content</p>
</div>
You would want to use a class over an ID because you will probably want multiple similar content areas like you have in the example given.

12-29-2006, 01:30 AM
#14
Adam S. is offline Adam S.
Adam S.'s Avatar
Status: Senior Member
Join date: Aug 2006
Location: New Brunswick, Canada
Expertise: Coding / programming
Software: NotePad
 
Posts: 824
iTrader: 9 / 100%
 

Adam S. is on a distinguished road

  Old

I figured it out, boy the got by all of us.

float:left; on the gray part in the CSS coding.

12-29-2006, 01:33 AM
#15
Andrew R is offline Andrew R
Status: Request a custom title
Join date: Dec 2005
Location: Arizona
Expertise:
Software:
 
Posts: 5,200
iTrader: 17 / 95%
 

Andrew R is on a distinguished road

  Old

Originally Posted by joe
Edit: I've had another look and I can see what the problem is, however, listen to Andrew and sort out the code you have. I would suggest coding each content box as follows:

HTML Code:
<div class="">
<h2>Title</h2>
<p>Content</p>
<p>More Content</p>
</div>
You would want to use a class over an ID because you will probably want multiple similar content areas like you have in the example given.
When I use <h2>'s for my titles, I leave it out of the div then put a bottom margin on that div.. just a tip for anyone who wants to use this. Because if you do it wrong in CSS, it will severely screw it up. With my way, there is a less of a chance to screw it up. PM me if you want me to write you up a sample.

Closed Thread  
Page 2 of 2 < 1 2


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed