The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> pretty simple question, how do i add a banner at the top in html
balls01
post May 18 2008, 01:33 AM
Post #1





Group: Members
Posts: 3
Joined: 18-May 08
Member No.: 5,685



hey its pretty simple i want some code to add a banner at the top of the page in the center, Not a background tho because is wont be seen at all so yeah i have a faint idea of how it should be but every time i try it it buggers up


<html>
<body>
<img src:"image here"alt"img"
<img properties:"fixed",position:"center,top>
</body>
</html>

^^thats my try thanks to yall (plz dont think i just made a account for this one question ill help out with what i know)
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post May 18 2008, 01:39 AM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,316
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



Please see the FAQ entry How can I display an image on my page?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
balls01
post May 18 2008, 01:53 AM
Post #3





Group: Members
Posts: 3
Joined: 18-May 08
Member No.: 5,685



yeh i did that in the code...
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post May 18 2008, 03:45 AM
Post #4


WDG Member
********

Group: Root Admin
Posts: 8,316
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



You've got:
CODE
<img src:"image here"alt"img"
<img properties:"fixed",position:"center,top>
You should have something like this instead:
CODE
<img src="image here" alt="img">
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
balls01
post May 18 2008, 04:12 AM
Post #5





Group: Members
Posts: 3
Joined: 18-May 08
Member No.: 5,685



not tryna be rude but that isnt solving anything and the image worked the way i did it 2 the fixing the image part is what isnt working
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post May 18 2008, 04:18 AM
Post #6


WDG Member
********

Group: Root Admin
Posts: 8,316
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



It looks like you just tossed some CSS into your HTML. That isn't how CSS works. Please see Linking Style Sheets to HTML in our CSS reference.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post May 18 2008, 10:29 AM
Post #7


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 18,402
Joined: 9-August 06
Member No.: 6



QUOTE(balls01 @ May 18 2008, 11:12 AM) *

not tryna be rude but that isnt solving anything and the image worked the way i did it 2 the fixing the image part is what isnt working


What you wrote can't possibly have worked.
CODE
<img src:"image here"alt"img"
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: 16th October 2019 - 07:35 AM