Click here to Skip to main content
12,500,915 members (52,082 online)

Web Development

 
GeneralRe: What every beginner should know about website development? Pin
SMZF8013-Jan-13 22:40
memberSMZF8013-Jan-13 22:40 
QuestionRoR + SQL server resources Pin
Md. Marufuzzaman19-Oct-12 20:04
mentorMd. Marufuzzaman19-Oct-12 20:04 
AnswerRe: RoR + SQL server resources Pin
Richard A. Abbott20-Oct-12 0:27
memberRichard A. Abbott20-Oct-12 0:27 
GeneralRe: RoR + SQL server resources Pin
Md. Marufuzzaman20-Oct-12 2:09
mentorMd. Marufuzzaman20-Oct-12 2:09 
QuestionUDDI and tmodel Pin
nagesh1019-Oct-12 4:59
membernagesh1019-Oct-12 4:59 
QuestionChat via Internet Pin
dungSoft12311-Oct-12 0:21
groupdungSoft12311-Oct-12 0:21 
AnswerRe: Chat via Internet Pin
Mohibur Rashid11-Oct-12 19:30
memberMohibur Rashid11-Oct-12 19:30 
AnswerRe: Chat via Internet Pin
dungSoft12316-Oct-12 7:26
groupdungSoft12316-Oct-12 7:26 
GeneralRe: Chat via Internet Pin
Mohibur Rashid16-Oct-12 15:14
memberMohibur Rashid16-Oct-12 15:14 
AnswerRe: Chat via Internet Pin
Joan Murt16-Oct-12 19:47
memberJoan Murt16-Oct-12 19:47 
QuestionEntityFramework and MVC3 Pin
satish gorakati10-Oct-12 20:47
membersatish gorakati10-Oct-12 20:47 
Questionbrowsers adding whitespace to display (solved) Pin
cjoki4-Oct-12 6:03
membercjoki4-Oct-12 6:03 
AnswerRe: browsers adding whitespace to display Pin
n.podbielski9-Oct-12 3:59
membern.podbielski9-Oct-12 3:59 
GeneralRe: browsers adding whitespace to display Pin
cjoki9-Oct-12 5:02
membercjoki9-Oct-12 5:02 
Here are two more screen shots that show my firebug window.



http://s5.postimage.org/z8zl234dj/fb_ss1.jpg[^]

http://s5.postimage.org/fsevfk99j/fb_ss2.jpg[^]

I also highlighted the ul in the first one and the li in the second. You can see the code dislayed in the window below which is odd as I did not have line breaks or tabs in my code, soI assume that fire bug is formating it. The generated source looks like this

<ul id="banner_nav"><li id="ban_nav_btn_0" onclick="selectFocus(0);" class="">1</li><li class="" id="ban_nav_btn_1" onclick="selectFocus(1);">2</li><li class="banner_nav_current" id="ban_nav_btn_2" onclick="selectFocus(2);">3</li><li class="" id="ban_nav_btn_3" onclick="selectFocus(3);">4</li></ul>

I do not see any whitespace, but it looks like a css issue with a height of 25px and padding 5px on the li. Firefox, Chrome and Safari do add this. the odd one is IE, but I think IE is correct (I could be wrong).

I had read online that making an element float forces a dislay block on the element which also adds spacing to the bottom, which is what I see here. But I also think that firefox and company are taking my 25px height and 25 px width, and adding the 5px padding to these along the y axis. I suspect that IE is respecting the 25px h+w and forcing the padding to stay with those limits....this is all just guess work on my part, so I am hoping the community has some advice.

I can run the code with the extra spacing, it does not stop it from working, but I would like it to truly look the same on all platforms.

ideas...?
Chris J
www.redash.org

GeneralRe: browsers adding whitespace to display Pin
Richard A. Abbott9-Oct-12 5:27
memberRichard A. Abbott9-Oct-12 5:27 
GeneralRe: browsers adding whitespace to display Pin
cjoki9-Oct-12 5:49
membercjoki9-Oct-12 5:49 
GeneralRe: browsers adding whitespace to display Pin
cjoki9-Oct-12 6:04
membercjoki9-Oct-12 6:04 
GeneralRe: browsers adding whitespace to display Pin
n.podbielski9-Oct-12 6:15
membern.podbielski9-Oct-12 6:15 
GeneralRe: browsers adding whitespace to display Pin
shanucis17-Oct-12 3:49
membershanucis17-Oct-12 3:49 
General.NET is Hell (subtitle: An error message from Microsoft) Pin
BCantor4-Oct-12 4:45
memberBCantor4-Oct-12 4:45 
GeneralRe: .NET is Hell (subtitle: An error message from Microsoft) Pin
Peter_in_27804-Oct-12 12:05
memberPeter_in_27804-Oct-12 12:05 
GeneralRe: .NET is Hell (subtitle: An error message from Microsoft) Pin
BCantor4-Oct-12 12:10
memberBCantor4-Oct-12 12:10 
Questionprinting on client's printer from web application running on server Pin
SKABBASJ2-Oct-12 0:27
memberSKABBASJ2-Oct-12 0:27 
AnswerRe: printing on client's printer from web application running on server Pin
SKABBASJ2-Oct-12 0:29
memberSKABBASJ2-Oct-12 0:29 
AnswerRe: printing on client's printer from web application running on server Pin
Pete O'Hanlon2-Oct-12 2:10
protectorPete O'Hanlon2-Oct-12 2:10 
QuestionRTL Mobile website bad format on a Samsung Star mobile Pin
Ahmad Safwat30-Sep-12 3:25
memberAhmad Safwat30-Sep-12 3:25 
QuestionSMS URL on htc mobile Invalid Recipient error Pin
Ahmad Safwat30-Sep-12 3:24
memberAhmad Safwat30-Sep-12 3:24 
QuestionDialog auto-resize Pin
awedaonline27-Sep-12 8:25
memberawedaonline27-Sep-12 8:25 
AnswerRe: Dialog auto-resize Pin
VijayChauhan1237-Oct-12 21:01
memberVijayChauhan1237-Oct-12 21:01 
GeneralRe: Dialog auto-resize Pin
awedaonline12-Oct-12 1:12
memberawedaonline12-Oct-12 1:12 
QuestionMultilingual webpage Pin
Akash Patel25-Sep-12 6:27
memberAkash Patel25-Sep-12 6:27 
AnswerRe: Multilingual webpage Pin
Andrei Straut25-Sep-12 6:58
memberAndrei Straut25-Sep-12 6:58 
AnswerRe: Multilingual webpage Pin
Mighty Raju27-Sep-12 2:55
memberMighty Raju27-Sep-12 2:55 
QuestionModifying accept header with IE9 and above Pin
Rajesh R Subramanian25-Sep-12 0:41
memberRajesh R Subramanian25-Sep-12 0:41 
Questionvariable element id Pin
safa223-Sep-12 20:29
membersafa223-Sep-12 20:29 
AnswerRe: variable element id Pin
Andrei Straut24-Sep-12 20:25
memberAndrei Straut24-Sep-12 20:25 
GeneralRe: variable element id Pin
safa226-Sep-12 4:35
membersafa226-Sep-12 4:35 
GeneralRe: variable element id Pin
Andrei Straut26-Sep-12 6:12
memberAndrei Straut26-Sep-12 6:12 
AnswerRe: variable element id Pin
Sebastiaan Meijerink30-Oct-12 4:08
memberSebastiaan Meijerink30-Oct-12 4:08 
QuestionGet webcam capture Pin
Killzone DeathMan21-Sep-12 1:16
memberKillzone DeathMan21-Sep-12 1:16 
AnswerRe: Get webcam capture Pin
Joan Murt22-Sep-12 1:31
memberJoan Murt22-Sep-12 1:31 
GeneralRe: Get webcam capture Pin
Killzone DeathMan22-Sep-12 11:10
memberKillzone DeathMan22-Sep-12 11:10 
AnswerMessage Automatically Removed Pin
19-Oct-12 22:00
membersarlishah19-Oct-12 22:00 
QuestionHUGE Web Service Performance Issue Pin
Jammer21-Sep-12 0:53
memberJammer21-Sep-12 0:53 
AnswerRe: HUGE Web Service Performance Issue Pin
jkirkerx21-Sep-12 11:04
memberjkirkerx21-Sep-12 11:04 
GeneralRe: HUGE Web Service Performance Issue Pin
Mohibur Rashid22-Sep-12 3:00
memberMohibur Rashid22-Sep-12 3:00 
GeneralRe: HUGE Web Service Performance Issue Pin
jkirkerx22-Sep-12 8:35
memberjkirkerx22-Sep-12 8:35 
GeneralRe: HUGE Web Service Performance Issue Pin
manak chand22-Oct-12 0:24
membermanak chand22-Oct-12 0:24 
SuggestionStore the history of links the user visits of any browser Pin
VijayChauhan12319-Sep-12 18:21
memberVijayChauhan12319-Sep-12 18:21 
GeneralRe: Store the history of links the user visits of any browser Pin
Andrei Straut19-Sep-12 21:09
memberAndrei Straut19-Sep-12 21:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.160919.1 | Last Updated 21 Sep 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid