Onclick swap image and swap text in div Programming Web Development by meangreta …to the area underneath. ([url]http://vinegar-works.com/casestudies.html)[/url]. I used layers to show and hide the…="section1"> <img src="images/casestudies/woman.png" width="667" height="…="section2"> <img src="images/casestudies/money.png" width="667" height="… Why is this page center aligned? Digital Media UI / UX Design by tech291083 …;/li> <li> | <a href="clients/casestudies.asp">our clients </a></li… CSS menu jumping Digital Media UI / UX Design by Sgalhc On a pretty basic page (starting from a Dreamweaver one column elastic template), I am trying to put a CSS driven menu, based on one of the tutorials on Lynda.com. When I preview in browsers, the menu jumps up when rolled over, which is very distracting. you can take a look at http://www.gallerycommunications.com/fmp/index-fmp.html Will … Centering a horizontal menu in header Digital Media UI / UX Design by Sgalhc Losing hair -- everything I have read tells me to center a block level element use left and right margins set to "auto" but I have tried that every place I can think of and the horizontal menu inside the header of this page will not budge. Started with DW CS4 template for 1 Col Fixed Centered. E The html [CODE] <!DOCTYPE html… Re: 3D Educational MMO's Programming Game Development by Liamf1986 … was doing my dissertation. [url]http://www.surreylearning.co.uk/CaseStudies/PrimaryCaseStudies/LiteracyCaseStudies/UsingComputerGames/tabid/2258/language/en-GB/Default.aspx… Re: creating an array for CaseStudyTitle Programming Web Development by davidjennings … foreach loop on line 18 around the a link for casestudies.`<a href='/About_ASDAN/Case_Studies/".$case_study_id."'> {$CaseStudyTitle… Re: Building backlinks in 2020 Digital Media Digital Marketing Search Engine Strategies by vishnuvis … from HARO. It's time taking but worth investing. 2 - Casestudies works good, I feel a insightful casestudy with steps attracts… Re: Onclick swap image and swap text in div Programming Web Development by meangreta this is resolved. i'm going to close the post. thanks. Re: Why is this page center aligned? Digital Media UI / UX Design by MattEvans this line: [code] margin: 0px auto; [/code] is setting some of the margins on your '#maincontainer' div to be auto. auto means; take a proportion of the available space. Generally, if you set the left and right margins of something to be "auto" it has the effect of aligning it in the middle of the page. This only happens if you give… Re: Why is this page center aligned? Digital Media UI / UX Design by tech291083 [quote=MattEvans;329661]this line: [code] margin: 0px auto; [/code] [/quote] Excellent reply my friend. I was trying very hard to get to grips with the whole idea of margin since being a newbie in the field of web design. Your explanation makes good sense. Here is something very similar to your reply that I just came across. [URL]http://www.… Re: Why is this page center aligned? Digital Media UI / UX Design by Gmarvz [QUOTE=MattEvans;329661]this line: [code] margin: 0px auto; [/code] is setting some of the margins on your '#maincontainer' div to be auto. auto means; take a proportion of the available space. Generally, if you set the left and right margins of something to be "auto" it has the effect of aligning it in the middle of the page. This … Re: CSS menu jumping Digital Media UI / UX Design by Sgalhc Just an added note on my initial posting -- both the html and the css code validate with the w3.org validators. Re: CSS menu jumping Digital Media UI / UX Design by Varnius Remove [CODE]height: 80px;[/CODE] from [CODE]#header ul a:hover { color: #fff; height: 80px; }[/CODE] Re: Centering a horizontal menu in header Digital Media UI / UX Design by xavgal Hey Sgalhc, Try giving the menu a fixed width and setting the position as relative. xavgal Re: Centering a horizontal menu in header Digital Media UI / UX Design by kcrazy First of all, In your HTML file, remove <div> tags that are enclosed within <ul class="menu">. ie. line numbers 19 and 31. You don't need an extra div there so that it would look like: [code=php] <div id="header"> <ul class="menu"> <li class="first"><a href="#"&…