Click here to Skip to main content
15,906,097 members
Home / Discussions / Web Development
   

Web Development

 
GeneralApp_Code in Web Application Pin
DotNetXenon17-Dec-07 10:51
DotNetXenon17-Dec-07 10:51 
GeneralRe: App_Code in Web Application Pin
jchalfant17-Dec-07 16:19
jchalfant17-Dec-07 16:19 
GeneralFavored solution to IE dropdown shortcomings Pin
jchalfant17-Dec-07 10:03
jchalfant17-Dec-07 10:03 
GeneralChanging opacity with javascript Pin
chaddolan17-Dec-07 9:55
chaddolan17-Dec-07 9:55 
GeneralRe: Changing opacity with javascript Pin
Michael Sync18-Dec-07 16:24
Michael Sync18-Dec-07 16:24 
GeneralRe: Changing opacity with javascript Pin
chaddolan19-Dec-07 2:16
chaddolan19-Dec-07 2:16 
QuestionDownloading a file using InternetOpenUrl in proxy environment (VC++ Wininet Library) Pin
Ravi Jadhav17-Dec-07 2:51
Ravi Jadhav17-Dec-07 2:51 
GeneralImage and text not displaying correctly in a <li> tag</li> Pin
Brendan Vogt17-Dec-07 2:41
Brendan Vogt17-Dec-07 2:41 
Hi,

I want to display 1-4 imagaes next to other with text beneath each image, so my code looks like:

<ul class="ns">
<li><img src="Images/TestCategory.jpg" /></li>
<li><img src="Images/TestCategory.jpg" /></li>
</ul>

..then the images are next to each other, but when I change it to:

<ul class="ns">
<li><img src="Images/TestCategory.jpg" />Laptops</li>
<li><img src="Images/TestCategory.jpg" />Laptops</li>
</ul>

.. the text is to the right of each image. I want it directly beneath it. I have tried to put the Laptops text in a <p></p> but then it shifts the images beneath each other, I want the images next to each other. I have even tried to use a <br /> but also does not work.

Here are my styles:

img{border:solid 1px #ddd;}
ul.ns{margin: 0;padding: 0;}
ul.ns li{display:inline;list-style:none;margin: 0;padding: 0;}

Please can someone help? An example that I am looking to achieve is at:
http://shopping.yahoo.com/b:Computers:21754470;_ylt=Ak_Uh3bW9bRvQHKj0sf2JPsEgFoB;_ylu=X3oDMTBhanZuZW9iBHNlYwNicm93c2U- look at the POPULAR COMPUTERS CATEGORIES block at the top.

Regards,
Brendan
GeneralRe: Image and text not displaying correctly in a tag Pin
Fred_Smith17-Dec-07 10:33
Fred_Smith17-Dec-07 10:33 
QuestionRe: Image and text not displaying correctly in a tag Pin
Brendan Vogt19-Dec-07 4:35
Brendan Vogt19-Dec-07 4:35 
GeneralRe: Image and text not displaying correctly in a tag Pin
Fred_Smith19-Dec-07 4:48
Fred_Smith19-Dec-07 4:48 
AnswerRe: Image and text not displaying correctly in a tag Pin
Brendan Vogt19-Dec-07 5:37
Brendan Vogt19-Dec-07 5:37 
GeneralAdding a new report to an ASP Page Pin
Member 470022517-Dec-07 1:47
Member 470022517-Dec-07 1:47 
GeneralDate time picker in jsp Pin
w20916-Dec-07 18:09
w20916-Dec-07 18:09 
GeneralRe: Date time picker in jsp Pin
Michael Sync18-Dec-07 16:20
Michael Sync18-Dec-07 16:20 
GeneralInteract with webpage programatically [modified] Pin
Sumanth Pereji16-Dec-07 17:20
Sumanth Pereji16-Dec-07 17:20 
GeneralRe: Interact with webpage programatically Pin
Michael Sync18-Dec-07 16:19
Michael Sync18-Dec-07 16:19 
Questionhow can do mathmetical calculation in asp Pin
idsanjeevjha16-Dec-07 15:39
idsanjeevjha16-Dec-07 15:39 
GeneralRe: how can do mathmetical calculation in asp Pin
techieboi16-Dec-07 18:21
techieboi16-Dec-07 18:21 
GeneralRe: how can do mathmetical calculation in asp Pin
Alaric_18-Dec-07 12:01
professionalAlaric_18-Dec-07 12:01 
GeneralRe: how can do mathmetical calculation in asp [modified] Pin
idsanjeevjha19-Dec-07 17:53
idsanjeevjha19-Dec-07 17:53 
QuestionCan not Play video on IE 6 & 7 Pin
Doan Quynh16-Dec-07 5:09
Doan Quynh16-Dec-07 5:09 
AnswerRe: Can not Play video on IE 6 & 7 Pin
Paul Conrad23-Dec-07 14:46
professionalPaul Conrad23-Dec-07 14:46 
GeneralCannot get network and local printers on the web server Pin
reza toorani16-Dec-07 4:02
reza toorani16-Dec-07 4:02 
QuestionHow can I make a poll with bar charts on my homepage? Pin
Manfr3d16-Dec-07 0:41
Manfr3d16-Dec-07 0:41 

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.