The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> img border = 0
Terminator
post Nov 6 2015, 03:44 PM
Post #1


Advanced Member
****

Group: Members
Posts: 218
Joined: 19-March 15
Member No.: 22,398



Again with the same class project, the directions are a mess, its a bunch of words that aren't well organized, steps are completely out or order (example: step 2 and many after mention specific code to type in the external css file, but then step 15 mentions that using an external css file would be a good idea and gives instructions on what to name it. This should have been step 1.)

Anyway one of the out of order steps says:
"use border="0" on all pages for images"

Just wondering why would I need to do that? And also I think it would be better to create an IMG class rather than put border=0 on each image. But what is the purpose of this? I don't see any borders showing up around my images, including the ones that are links.

I tried searching for this and anything that comes up seems to be from 2010. Do you think this is another deprecated step like the HR noshade? thanks.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Nov 6 2015, 04:26 PM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



it definitely is. i'd say the border attribute for images went out of use long before 2010. this was one of the first css tricks that was widespread. and you don't even need a class.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Nov 6 2015, 06:48 PM
Post #3


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



MSIE9 puts a border around linked images. Haven't tried newer versions.

But removing it with CSS is better than using the BORDER attribute.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Terminator
post Nov 6 2015, 08:37 PM
Post #4


Advanced Member
****

Group: Members
Posts: 218
Joined: 19-March 15
Member No.: 22,398



QUOTE(pandy @ Nov 6 2015, 05:26 PM) *

it definitely is. i'd say the border attribute for images went out of use long before 2010.


Jeez what kind of Web Programming class am I in? I can learn better on my own and on here, rather than be taught in class to use all of this outdated programming.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Nov 7 2015, 05:05 AM
Post #5


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



is this in school, uni or something you've paid for?

we see quite a few assignments here and scarily many use dated techniques and stright out bad solutions too.


QUOTE(Christian J @ Nov 7 2015, 12:48 AM) *

MSIE9 puts a border around linked images. Haven't tried newer versions.


don't all browsers? unsure.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Nov 7 2015, 05:08 AM
Post #6


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



i think there is a point in learning a little about old style html thogh. you might later get a job rewriting such pages or make smaller changes to them. but that's another matter.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Nov 7 2015, 06:11 AM
Post #7


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



QUOTE(pandy @ Nov 7 2015, 11:05 AM) *

QUOTE(Christian J @ Nov 7 2015, 12:48 AM) *

MSIE9 puts a border around linked images. Haven't tried newer versions.


don't all browsers? unsure.gif

Not my other ones. Do you see it? unsure.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Nov 7 2015, 07:09 AM
Post #8


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



i don't know. do you mean just plain linked images, no styling?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Nov 7 2015, 07:52 AM
Post #9


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



Yes:

CODE
<a href="/"><img src="dog.jpg" width="100" height="50" alt=""></a>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Terminator
post Nov 7 2015, 11:35 AM
Post #10


Advanced Member
****

Group: Members
Posts: 218
Joined: 19-March 15
Member No.: 22,398



QUOTE(pandy @ Nov 7 2015, 06:05 AM) *

is this in school, uni or something you've paid for?

we see quite a few assignments here and scarily many use dated techniques and stright out bad solutions too.



This is a college class, and so far it looks like I am probably too advanced for it. I'm sure it will be an easy A for me, but I need to make sure to ignore all the outdated programming advice that I am getting in the class. I was also told by the instructor that DIV tags cannot be used as classes, and they can only be ID tags. I'm at the point now to where I look up everything I hear in class to confirm that it is false and/or deprecated.

I agree that it is a good idea to also learn a little about old HTML because it is still out there, but from the instructions it appears that this is still the current HTML coding. But the instructions were def written many, many years ago.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Nov 7 2015, 01:35 PM
Post #11


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



QUOTE(Christian J @ Nov 7 2015, 01:52 PM) *

Yes:

[code][/code]


i wasn't aware browsers had stopped putting a border on that. when did this happen?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th April 2024 - 06:23 AM