Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,194,659 members, 7,955,389 topics. Date: Sunday, 22 September 2024 at 02:18 AM |
Nairaland Forum / Science/Technology / Webmasters / Need Help HTML+CSS+XML (1491 Views)
Help!!! Html Table Not Working On Moble Operamini / Free Xmlprov Xml Prov Creator Maker And Generator / Create Ajax Chat & Learn Web Page Data Xchange via Json Vs Xml (2) (3) (4)
Need Help HTML+CSS+XML by akereconfi: 4:37pm On Nov 14, 2014 |
I am working on a course work, designing a website. I want to fit my logo into the header, but once input the logo, it changes the style of the NAV bar <body> <div id="header"> <img src="logo.jpg" style="width:960px;height:auto;> </div> This is the code I used to fit it how I want, but it changes the style of the Navigation bar below
|
Re: Need Help HTML+CSS+XML by akereconfi: 4:37pm On Nov 14, 2014 |
<div id="header"> <img src="logo.jpg"> </div> Right now my NAV bar is exactly how I want it but the image is out of scale
|
Re: Need Help HTML+CSS+XML by naijaxplorer: 5:05pm On Nov 14, 2014 |
akereconfi:am not a guru o but why not insert the header in the <head> |
Re: Need Help HTML+CSS+XML by Nobody: 5:05pm On Nov 14, 2014 |
akereconfi: Ah ah. Just customize the image size na. Its bleeping dat easy. |
Re: Need Help HTML+CSS+XML by Nobody: 5:14pm On Nov 14, 2014 |
akereconfi: Just delete the "style=" line.... Its wroong coding |
Re: Need Help HTML+CSS+XML by akereconfi: 5:16pm On Nov 14, 2014 |
post=28014521: Even when I delete the "style" the images appears bogus and takes over the screen. I don't want to edit the image to make it smaller because it will appear pixelated when projected on the screen |
Re: Need Help HTML+CSS+XML by zeroshadow: 5:24pm On Nov 14, 2014 |
akereconfi: You have to change the size... Change the "960" to something smaller.. Or use paint or photoshop to reduce it. |
Re: Need Help HTML+CSS+XML by maekhel(m): 8:00pm On Nov 14, 2014 |
akereconfi:1. you omitted the end " of the style attribute. dnt knw if it like dat in ur actual code or omitted it while pasting here 2. wat d width of #header container waiting ur response |
Re: Need Help HTML+CSS+XML by Craigston: 8:10pm On Nov 14, 2014 |
naijaxplorer:That would be wrong. The <body> element should be the enclosing tag for every other element to be displayed on the page. |
Re: Need Help HTML+CSS+XML by Craigston: 8:14pm On Nov 14, 2014 |
naijaxplorer:That would be wrong. The <body> element should be the enclosing tag for every other element to be displayed on the page. You use wapka. View the source code of any page on your site. You will find that the <html>, <head> and <body> tags are already input by default. The code you enter in your page editor is entered in a form that places this code between the <body></body> tags. |
Re: Need Help HTML+CSS+XML by naijaxplorer: 9:09pm On Nov 14, 2014 |
Craigston:We have headtags section which contains <head> items like page title and favicon |
Re: Need Help HTML+CSS+XML by Craigston: 9:28pm On Nov 14, 2014 |
naijaxplorer:Use your developer tools or your wapka source code viewer to check it. That head tags form places the code you input between a default <head> element. |
Re: Need Help HTML+CSS+XML by naijaxplorer: 10:20pm On Nov 14, 2014 |
Craigston:that's what am saying |
Re: Need Help HTML+CSS+XML by dwebdesign(m): 4:54pm On Nov 15, 2014 |
Use css float, Float the image to the left Add to your css stylesheet: float:left; Margin: auto; Padding:auto; Then resize the image to a proper image that's fits the header width. Contact: Mobile: 08133884165 Whatsapp: 08133884165 BBM: 2BB63350 |
Re: Need Help HTML+CSS+XML by eugbana: 9:19pm On Nov 15, 2014 |
you have a css problem 1 Like |
Re: Need Help HTML+CSS+XML by tr3y(m): 12:16am On Nov 17, 2014 |
a "display: inline" is all you need. Go figure! 1 Like |
(1) (Reply)
Need Adsense? We Post For You, We Apply, We Get Approval, You Pay. / Adsense With 18$ With 40k Facebook Group For Sell- Cheap Prices / I Need A Verified Naija Adsense Account
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 23 |