When writing lots of paragraphs what is the best way to do it:
A:
<p>Paragraph 1</p>
<p>Paragraph 2</p>
<p>Paragraph 3</p>
or B:
<p>Paragraph 1...<br />
Paragraph 2...<br />
Paragraph 3...</p>
-----------------------------------------
When creating complex-ish layouts, like the image i've attached below, what is the best way to do this in CSS. I have a feeling i'm going the long winded way about it.
Ignoring the header and footer, this is my CSS for the below image:
main width 800px
#menu {
width: 250px;
float: left;
}
#BigPhoto {
width: 550px
float: left;
}
#Middle {
width: 400px
float: left;
}
Text {
width: 650px;
float: left;
}
PhotoBottom {
width: 150px;
float: left;
}
.clear { clear: both; } /*to bring the footer down*/
Also, if each of the columns on each row varied in size i would also have to wrap those in <div></div> to keep in rows inline.
I've worked on a website that is laid out similar to this, and it has different layouts on every page.. This has made the CSS look very messy, i'm just wondering if that's the way you would go about doing those types of layouts.
Is there a way to get text and photo side by side without putting each in it's own div?
It certainly is a waste of time clicking it if you're not interested in Windows 11's development. If that were the case for you, you could easily ignore the headline and move on given the headline makes it clear that's what the article is about. Instead, you're contradicting yourself here calling it a waste of time yet clicking on the headline and commenting...
If it were a totally different topic being presented than what's stated in the headline, then you'd certainly have a point, 'cause that's totally deceptive and unavoidable if not actually interested. However here, you can totally avoid it if you're truly not interested.
No, it did not work. I did not read the article. I saw the title in my Feedly feed and came to continue putting pressure about such titles on a website I used to love.
In fact, based on your reply, it seems you think it's fine to visit click bait title articles to find out what it's about, to waste people's time. That's up to you, mate. I remember when news websites had pride in their content and therefore didn't need to resort to cheap tactics.
I think they will try and benchmark base it at £100 as being the premium product and then have extras on top.
The issue will be who can play it and who will pay for a every more expensive late stage console now
Question
game_over
When writing lots of paragraphs what is the best way to do it:
A:
<p>Paragraph 1</p>
<p>Paragraph 2</p>
<p>Paragraph 3</p>
or B:
<p>Paragraph 1...<br />
Paragraph 2...<br />
Paragraph 3...</p>
-----------------------------------------
When creating complex-ish layouts, like the image i've attached below, what is the best way to do this in CSS. I have a feeling i'm going the long winded way about it.
Ignoring the header and footer, this is my CSS for the below image:
main width 800px
#menu {
width: 250px;
float: left;
}
#BigPhoto {
width: 550px
float: left;
}
#Middle {
width: 400px
float: left;
}
Text {
width: 650px;
float: left;
}
PhotoBottom {
width: 150px;
float: left;
}
.clear { clear: both; } /*to bring the footer down*/
Also, if each of the columns on each row varied in size i would also have to wrap those in <div></div> to keep in rows inline.
I've worked on a website that is laid out similar to this, and it has different layouts on every page.. This has made the CSS look very messy, i'm just wondering if that's the way you would go about doing those types of layouts.
Is there a way to get text and photo side by side without putting each in it's own div?
Link to comment
https://www.neowin.net/forum/topic/886726-basic-htmlcss-questions/Share on other sites
11 answers to this question
Recommended Posts