/    Sign up×
Community /Pin to ProfileBookmark

screen res. changes my table position.

Hey folks,

I’m designing a form and I’d like for the following text:

Contact Denni David at 847.256.2378 or e-mail: [email][email protected][/email]

and my nav bar that sits below everything to stay centered when the screen resolution changes, but thats not happening.

I’m using a .css file with this. Any suggestion? Please view the website at
[url]www.dennidavid.com/test/form2.html[/url].

Thanks-

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@ray326Apr 16.2005 — Both your HTML and your CSS are chocked full of errors. Toss the tables entirely and put the form in a sized, centered div using simple, correct HTML.
Copy linkTweet thisAlerts:
@fojomoauthorApr 17.2005 — Thanks for the input,

I can make the change you suggested (accept I can't alter my flash object, which sits in the middle of my code). Although, do you have a good example

of how I'd set up a 'sized div'?

thanks-
Copy linkTweet thisAlerts:
@ray326Apr 17.2005 — CSS <i>
</i>#container {
width: 100%;
text-align: center; /* for old IE */
background: #ff0;
}
#content {
width: 500px;
height: 350px;
margin: 100px auto;
background: #f00;
}

HTML<i>
</i>&lt;div id="container"&gt;
&lt;div id="content"&gt;
&lt;p&gt;Put stuff here&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
×

Success!

Help @fojomo spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...