Tag Archives: Jpg Background

Centering a div, sans tables

So how exactly does one center any div, without making use of tables I’m absolutely lost here. Thanks for virtually every help. Code: … < head> < style type=" text/css" media=" screen" > html code, body text-align: middle; #centre width: 760px; text-align: left; margin: 0 automobile; < /style> < /head>… Code: < div id=" centre" > This block element is going to be centred in the actual browser window. < /div> The < DIV> tag is similar to < P> tag. Just set this attribute ALIGN=" center" as well as you’re on. Code: < div align=" center" > this text stands in the centre. < /div> Even so, that’s not W3C good.. Ok, I’ve tried every one of those things, but I didn’t make use of the margin: 0 automobile; line. That won’t affect the centering have to it Code: body text-align: middle; background-color: #2C4762; font-family: verdana, arial; font-size:. 8em; . major width: 900px; levels: 100%; border-width: 1px; border-color: #546A80; border-style: strong; background-image: url(.. /images/sky. jpg); background-repeat: no-repeat; backroud-color: #2C4762; Subject to the code, it could possibly. More so around other resolutions. Give it any shot at anything better or scaled-down then what you’re running right now. Yes and also, … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

Background scrolls in Firefox, not in IE

Hi there, I’m using FrontPage 2000 to construct a website over a Windows XP technique. I’ve set a graphic because background, and Truly selected " Watermark" in FP therefore , the background will stay static with the just text scrolling. This works not surprisingly in IE 6, but in Firefox the actual background scrolls using the text. What Html code is causing it is there a workaround With thanks, Erectile dysfunction Let’s see the code, right Solved this. WE use FrontPage, and yes it uses a MSFT non-standard method of freezing the backdrop. When I employed a CSS-style history definition (below) every thing works fine. SYSTEM background-image: url(images/CA_background2. jpg); background-repeat: no-repeat; /*no-tiling background*/ background-attachment: unchanging; margin-top: 0; margin-left: 0; Thanks in your reply and offer you of help! Erectile dysfunction.

Posted in Web Design | Tagged , , , , , , , , , , , , , , | Leave a comment

Dumb question, CSS layer styles

I built a internet page at 800×600. I’m trying to figure out how it is I will get the content/layout to become centered, that way when people perspective the page at say 1024×768, the content will not stretch leaving this page with a lot of white space. Like like if an individual made everything from a table and just did a centre alignment. Here’s a check out what I have got. https: //home. comcast. net/jerrysmartin The navigation about the left stays into the left and the flash within the right stays justified to the right. The content is with a div. I’d want to have it ready to where it’ll look uniform in whatever resolution. Bless you. -Mike You might even make your screaming image width = 760 pixels. Next, make a several changes as demonstrated below… Here i will discuss your CSS part for " body" shape background-image: url(images/background. jpg); background-repeat: repeat-x; margin: 0px; support: 0px; Try changing it for this: code, body background-image: url(images/background. jpg); cursor: default; font-family: " Verdana", arial, " MS Sans Serif", Geneva, sans-serif; font-weight: normal; font-size: 10px; line-height: normal; margin: auto; support: 0px 0px 0px 0px; min-width: 760px; text-align: centre; Next, add this to … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

Prolly a easy answer to my noob question

We’ve a website johnnysinthedoghouse. com and We’ve 2 webcams that i need to put on the page. I’m attempting to overlay a embedded media player on the jpg background and also the problem I’m having is receiving the media player for you to refresh the photo I direct it to try out. I also have a very javascript that We can put on this page that refreshes the particular image perfectly yet I can’t have it to layer on top of my website image. Here is the media player computer code I’m using: < MERCHANDISE ID=" MediaPlayer" width=" 480" height=" 420" style=" job: absolute; left: 330; best: 270; " CLASSID=" CLSID: 22D6f312-B0F6-11D0-94AB-0080C74C7E95" TYPE=" application/x-oleobject" < param name=" autoStart" value=" True" > < param name=" filename" value=" http: //www. johnnysinthedoghouse. com/webcam. jpg" > < param NAME=" ShowControls" VALUE=" False" > < param NAME=" ShowStatusBar" VALUE=" False" > < /object> How to get this for you to refresh or replay the image i always upload to this server Seems for you to just load them once and thats the idea. Any help is actually GREATLY! appreciated. Bless you guys! Anybody searching for… Firstly, two of these kind of lines are lacking the … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

Quick question with editing my page with css

Hi there everyone. First submit here. I am in a web development book today. Its the initial chapter introducing CSS. I’ve made an alternative style sheet to utilize to all our pages, though just one problem is puzzling me. I have made specifications question headings (h1, h2 and h3), for our bodies, for paragraphs, and blockquotes. But one of the last steps, it says to use the following type to elements. What precisely does this are What tags Precisely how would I do that in CSS Relating to no problem setting the properties, but what precisely do they signify by hypertext elements With thanks everyone! Marky Such as, if your CSS file has something such as this…. p font-size: 14px; color: #000; Wherever you employ the Hypertext (HTML) label < p> as part of your HTML, it may take-on that font size and color. < p> blah blah< /p> You usually start out your CSS such as this… html, body perimeter: 0px auto; padding: 0; font-family: arial; font-size: 12pt; color: #000; Of which sets-up the simple styling for all within < html>… < /html> and < body>… < /body> Any HTML tag is usually given specific CSS properties, by using … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

Divs Give me Different Layout in Ie and CSS – Can Anyone Help??

I am just finishing a web site where I want two columns with coloured boxes in order to align underneath both: 3rd left box 184px height ——–1st right field 184px height 15 px space ————————10 px space Following left box ————————2nd correct box I’ve used CSS and also Divs (rather than tables) but cannot understand why the item aligns properly with IE but around Firefox and Chrome the 2nd left hand proverbial box appears 10px as well as so below the next right hand common box. This site is http: //www. specialistangliansecurity. co. uk/ and the particular relevant code is definitely: 3rd left box: Code: #menuitems situation: relative; top: 0px; vertical-align: prime; width: 319px; peak: 184px; padding: 0px; margin: 0px; border: 0px; background-image: url(‘.. /security-images/navigation-bk. jpg’); background-repeat: no-repeat; overflow: hidden; 1st perfect box: Code: #gallerysection situation: relative; z-index: 50; height: 184px; thicker: 621px; padding: 0px; margin: 0px; border: 0px; . gallerycontainer situation: relative; top: 0px; vertical-align: prime; height: 184px; thicker: 621px; padding: 0px; margin: 0px; border: 0px; z-index: 50; background-image: url(‘.. /security-images/security-imagesbk. jpg’); background-repeat: no-repeat; 2nd remaining box: Code: #companies situation: relative; top: 10px; vertical-align: prime; width: 319px; peak: 448px; padding: 0px; margin: 0px; border: 0px; background-image: url(‘.. /security-images/company-bk. jpg’); … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , | Leave a comment