I need some help with html and CSS

The problem with using <li> is that the styling will be applied to each individual item, which is possibly why it's going out of alignment. Table columns expand to fill the widest object within them, so will always be aligned.
 
  • Like
Reactions: BurningDesire
So would something like this be acceptable

Code:
<table>
<col />
<col span="1" />
<tr>
<img class = "songs" src = "song_fs_01.png">
<img class = "songs" src = "song_fs_01.png">
<img class = "songs" src = "song_fs_01.png">
<img class = "songs" src = "song_fs_01.png">
</tr>
</table>
 
ah lol my example :

Code:
<div class="top-bar"><span class="pull-left"><img class="mainlogo" /> </span> <span class="pull-right"> <span class="wiifont">F/W :</span> <select class="dropdown" v-model="system.firmware"><option>5.5.1</option><option>5.5.0</option><option>NOT A WIIU</option> </select> </span></div>

and a simpler idea :

http://stackoverflow.com/questions/2000656/using-href-links-inside-option-tag
 
  • Like
Reactions: BurningDesire
ah lol my example :

Code:
<div class="top-bar"><span class="pull-left"><img class="mainlogo" /> </span> <span class="pull-right"> <span class="wiifont">F/W :</span> <select class="dropdown" v-model="system.firmware"><option>5.5.1</option><option>5.5.0</option><option>NOT A WIIU</option> </select> </span></div>

and a simpler idea :

http://stackoverflow.com/questions/2000656/using-href-links-inside-option-tag
Ah I ran it and it does indeed do what I want. I will Fiddle with it. However it only does what I want when I click on it. Is there a way to make it drop down via hovering over it?
 
tbh my idea wasnt that good for what you need i would look more into css dropdowns... look here at the example...

http://www.w3schools.com/howto/howto_css_dropdown.asp
I try that and i get this any ideas?



Capture.PNG
 
Just be aware that menus and things which rely on hovering might not work well in touch interfaces such as phones and tablets. It depends how the mobile browser handles hover. Some detect the first touch as hover and the second touch as click, but some detect the first touch as click. In the latter case, the user will not be able to use the features which require hover detection.
 

Site & Scene News

Popular threads in this forum