Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 01-18-2012, 08:16 PM   #1
New Member
 
Join Date: Jan 2012
Posts: 9
Default Why won't my text wrap in the <aside> element?

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.
Angus is offline   Reply With Quote


Old 01-19-2012, 02:22 AM   #2
Diamond Member
 
Phreaddee's Avatar
 
Join Date: Feb 2011
Location: Newcastle, Australia
Posts: 1,137
Default

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");
}
Phreaddee is offline   Reply With Quote
Old 01-19-2012, 04:17 AM   #3
New Member
 
Join Date: Jan 2012
Posts: 4
Default

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.
usernamenone is offline   Reply With Quote
Old 01-19-2012, 05:33 AM   #4
Diamond Member
 
Phreaddee's Avatar
 
Join Date: Feb 2011
Location: Newcastle, Australia
Posts: 1,137
Default

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");
}
Phreaddee is offline   Reply With Quote
Old 01-19-2012, 04:39 PM   #5
New Member
 
Join Date: Jan 2012
Posts: 9
Default Good advice...One more thing!

Quote:
Originally Posted by Phreaddee View Post
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!)
I must have messed up the original styles from the Initializr site, though I tried not to. Can you do me a favor and see how the page renders before I have done anything to it at all?

www.petsrelyonpeople.org/Initializr

Thanks for your help, good people.
P.S. do you have a bitcoin address?
Angus is offline   Reply With Quote


Old 01-19-2012, 07:53 PM   #6
Diamond Member
 
Phreaddee's Avatar
 
Join Date: Feb 2011
Location: Newcastle, Australia
Posts: 1,137
Default

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");
}
Phreaddee is offline   Reply With Quote
Old 01-20-2012, 10:26 PM   #7
New Member
 
Join Date: Jan 2012
Posts: 9
Default

Quote:
Originally Posted by Phreaddee View Post
Yeah that looks pretty good on the droid.
Thank you for your help. BTW, there is a site called browsershots.org that will show you what your webpage looks like on many different browsers (most of which I've never heard of). But, maybe it can help some of you.
Angus is offline   Reply With Quote
Reply

Tags
<aside>, word-wrap

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:48 AM.


Camera Forum - Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.