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 10-12-2012, 05:12 PM   PM User | #1
dc366
New to the CF scene

 
Join Date: Jan 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
dc366 is an unknown quantity at this point
Help with CSS Spacing.

I have a div acting as a table:
http://codepen.io/overdrivemachines/pen/zwrdE

Why is there a space above Lorem in the third column of the first row?

How do I get rid of it?

Thank you
dc366 is offline   Reply With Quote
Old 10-13-2012, 02:09 AM   PM User | #2
syco__
Regular Coder

 
syco__'s Avatar
 
Join Date: Oct 2005
Location: Australia
Posts: 178
Thanks: 39
Thanked 3 Times in 3 Posts
syco__ has a little shameless behaviour in the past
Its because of thestyling for each menu item i am working on a solution but to be honest i really just don't like this set up and find it hard to believe you would ever need to set up your page like this. Maybe i am wrong but either way ill work on it a little more.
__________________
.pLeAd InSaNiTy.
syco__ is offline   Reply With Quote
Old 10-13-2012, 11:38 PM   PM User | #3
waxdoc
Regular Coder

 
Join Date: Jul 2008
Posts: 155
Thanks: 9
Thanked 13 Times in 13 Posts
waxdoc is an unknown quantity at this point
This junk?

Do you mean this? Besides the new line \n and tab \t, why are you escaping the quotes in <div class=\"td\"> and closing div tag <\/div>?????
Code:
<div class=\"td\">\n    \t\t\t\tLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n    \t\t\ttempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n    \t\t\tquis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n    \t\t\tconsequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n    \t\t\tcillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n    \t\t\tproident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n\n    \t\t\t<\/div>\n  \t\t\t<\/div>\n  \t\t\t<div class=\"tr\">\n    \t\t\t<div class=\"td\">Row 2, Cell 1<\/div>\n    \t\t\t<div class=\"td\">Row 2, Cell 2<\/div>\n    \t\t\t<div class=\"td\">Row 2, Cell 3<\/div>
waxdoc is offline   Reply With Quote
Old 10-14-2012, 07:56 AM   PM User | #4
michaelblinn86
New to the CF scene

 
Join Date: Oct 2012
Location: Los Angeles
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
michaelblinn86 is an unknown quantity at this point
Help with CSS Spacing

Each menu item Iam working on a solution online platform where you can create and publish your own website CSS script.
michaelblinn86 is offline   Reply With Quote
Old 10-14-2012, 02:00 PM   PM User | #5
danhpnhan
Banned

 
Join Date: Oct 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
danhpnhan is an unknown quantity at this point
L?i 1 trang du?c g?i lÃ* Zeek 2 ra d?i cho chúng ta th? nghi?m.



Zenk Rewards lÃ* Zeekrewards chang

K? t? khi Zeek s?p d?, có khá nhi?u chuong trình ra d?i vÃ* lên k? ho?ch nhu 1 site Zeekrewards Version 2.
Hôm nay, l?i có thêm 1 trang v?a ra d?i vÃ*o ngÃ*y 10/10/2012 có tên lÃ*: Zenk Rewards

M?i th? d?u nhu Zeekrewards, khác ? nh?ng di?m sau:
1. Có th? d?u tu/nâng c?p/rút b?ng LR (Hi?n nay Payza dang du?c add)
2. Free member không có bonus points.
3. ? giai do?n 2 c?a vi?c lÃ*m qu?ng cáo: B?n nên t? ch?n 1 noi d? có th? lÃ*m qu?ng cáo nhu: http://classifiedsgiant.com/
4. Có 2 l?p m?t kh?u.
5. S? c?p nh?t thêm...

N?u b?n quan tâm, hãy click vÃ*o dây d? dang ký vÃ* khám phá

C?p nh?t thông tin v? Zenk Rewards t?i dây
danhpnhan is offline   Reply With Quote
Old 03-16-2013, 10:11 PM   PM User | #6
sirajuljony
New to the CF scene

 
Join Date: Mar 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
sirajuljony is an unknown quantity at this point
I also faced this problem. I don't know, how was it fixed. Now there is no problem.
sirajuljony is offline   Reply With Quote
Reply

Bookmarks

Tags
css, div, spacing, table

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 07:13 AM.


Advertisement
Log in to turn off these ads.