|
|
#1 |
|
New Member
![]() Join Date: Jan 2012
Posts: 9
|
Hi folks,
I'm at my wits end. I've been building my website using the html 5 <aside> element. Actually, I downloaded the 15 second project from Initializr.com and now--15 days later--I'm ready to admit I have no other ideas. So, I want to have a column on the right hand side where I can put text, but my text runs off to the right of the <aside> element. See for yourself at: http://petsrelyonpeople.org/Initializr/index2.html I'm hoping one of you can laughingly point out the silly and simple fix I need. thanks. |
|
|
|
|
|
#2 |
|
Diamond Member
![]() Join Date: Feb 2011
Location: Newcastle, Australia
Posts: 1,137
|
Not sure entirely why its doing that but on my android the whole layout breaks.
I suggest you reassess the entire structure of the site (+ maybe reassess using templates you havent created!)
__________________
if (headhurts == "possibly") { alert ("keep going!"); } else if (headhurts == "yes") { alert ("go to sleep"); } else if (headhurts == "damn !@#$ mofo scripts...") { alert ("give up and have a beer!"); } else { alert ("watch TV"); } |
|
|
|
|
|
#3 |
|
New Member
![]() Join Date: Jan 2012
Posts: 4
|
Because your style for aside is lumped in with everything else that is inline-block.
Separate it and give it a width. article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; } audio[controls], canvas, video { display: inline-block; *display: inline; *zoom: 1; } Doing this <p style="word-wrap:normal"> Makes no difference. |
|
|
|
|
|
#4 |
|
Diamond Member
![]() Join Date: Feb 2011
Location: Newcastle, Australia
Posts: 1,137
|
Actually usernamenone, thats is for ie to display html5 elements correctly.
Besides display:block wont affect it in that way anyway.
__________________
if (headhurts == "possibly") { alert ("keep going!"); } else if (headhurts == "yes") { alert ("go to sleep"); } else if (headhurts == "damn !@#$ mofo scripts...") { alert ("give up and have a beer!"); } else { alert ("watch TV"); } |
|
|
|
|
|
#5 | |
|
New Member
![]() Join Date: Jan 2012
Posts: 9
|
Quote:
www.petsrelyonpeople.org/Initializr Thanks for your help, good people. P.S. do you have a bitcoin address? |
|
|
|
|
|
|
#6 |
|
Diamond Member
![]() Join Date: Feb 2011
Location: Newcastle, Australia
Posts: 1,137
|
Yeah that looks pretty good on the droid.
__________________
if (headhurts == "possibly") { alert ("keep going!"); } else if (headhurts == "yes") { alert ("go to sleep"); } else if (headhurts == "damn !@#$ mofo scripts...") { alert ("give up and have a beer!"); } else { alert ("watch TV"); } |
|
|
|
|
|
#7 |
|
New Member
![]() Join Date: Jan 2012
Posts: 9
|
|
|
|
|
![]() |
| Tags |
| <aside>, word-wrap |
| Thread Tools | |
| Display Modes | |
|
|