I am trying to center these <li> elements but I can't seem to figure out how. I now I could just add 400 margin to the other <li> element in CSS but I need to have a picture to the left of both of these and I know that won't work because the margin will make the pictures farther away then a I want. Here is my HTML code and my CSS code.. HTML Code: <!DOCTYPE html> <head> <style>font.tahoma{font-family:Tahoma, Geneva, sans-serif;}</style> <style>font.trebuchet{font-family:"Trebuchet MS", Helvetica, sans-serif;}</style> <title>Ceracy Games | About Us</title> <link rel="stylesheet" type="text/css" href="aboutstyle.css"/> <link rel="stylesheet" type="text/css" href="navigationbar.css" /> </head> …

Member Avatar
Member Avatar
+0 forum 6

Hi, I am trying to have my landing page center in the browser when it resizes, with css yet and I'm confused. Right now its all flush left and i want it to center in any browser if possible. Maybe could someone please add the code in red so i can see it and it will make sense. but i don't know what i am talking about. :D here's my code (flush left now). [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Dave Hekhouse and Jesse Benenati Realtors Santa Barbara I Montecito …

Member Avatar
Member Avatar
+0 forum 2

I'm creating a Dreamweaver CSS site based off a template I purchased. In this site, I want to have page with a gallery of my company's products. So I went to [url]http://smoothgallery.jondesign.net/[/url], used the "Gallery Set" setup, and put it into my web page. It all works GREAT...except the gallery is left-aligned and I want it centered on my page. I'm a novice. I'm not all that familiar with css or javascript, and nothing I'm doing is getting my gallery to center. I'm sure it's a simple fix, but like I said...I'm a novice. Help?

Member Avatar
Member Avatar
+0 forum 2

Hi there guys, I'm currently trying ti build a site and I cant seem to get the positioning of my page as I want it. Simply pu I want all the items centered instead of as they are (justified left). Here is the sauce: [CODE]<%@ Master Language="VB" CodeFile="MasterPage.master.vb" Inherits="MasterPage" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <asp:ContentPlaceHolder id="head" runat="server"> </asp:ContentPlaceHolder> </head> <body bgcolor="#292929"> <form id="form1" runat="server"> <div style="left: 0px; width: 150px; position: absolute; top: 95px; height: 1000px;"> <asp:contentplaceholder id="ContentPlaceHolder1" runat="server"> </asp:contentplaceholder> </div> <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/thumbs-up.jpg" style="z-index: 1; left: 0px; top: 0px; position: …

Member Avatar
Member Avatar
+0 forum 1

I know there has been lots of discussion about how to make an entire website render centre screen, regardless of monitor size or format (e.g. widescreen). It seems most answers rely on use of tables, which we're repeatedly told is an outdated approach to layout. Also the <centre> tag is dead and burried. I use layers to build my pages - no tables or frames - I guess I'm comfortable in the layer space because I grew up with layering in Photoshop. Do you think I can make a web page appear automatically centred in a browser? You guessed right, …

Member Avatar
Member Avatar
+0 forum 1

Hi guys, I have created a php file, which will takes a filename as input parameter, It will just check the extension of that filename and displays the file to the browser using phpscript. for this I used [code=php] header('Content-Disposition: inline; filename='.$filename); [/code] Everything working fine for me, but I need those files to be displayed on the center of the page. So I used Iframe to call that phpsource, check below how I am showing it in a html page. [code=php] <center> <iframe src="http://creativeblows.com/test/parse_files.php?file_name=universe.swf" width="99%" height="400" scrolling="auto"></iframe> (This file is displaying on the center to the page) <iframe src="http://creativeblows.com/test/parse_files.php?file_name=coming-soon.jpg" …

Member Avatar
+0 forum 0

The End.