CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 3/24/2006 3:21:49 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 14 Views: 12 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
15 Items, 1 Pages 1 |< << Go >> >|
jimmy_fingers
Asp.Net User
CSS - bottom,middle please3/24/2006 3:21:49 PM

0/0

Would someone please be able to tell me how to position an image at the bottom middle of my page? I've checked so many sites but they just show relative left & top, but I need it to remain in the middle regardless of what happens to the browser size.

 

 

Many thanks,

 

MorningZ
Asp.Net User
Re: CSS - bottom,middle please3/24/2006 5:33:59 PM

0/0

Without the use of Javascript as well, i do not think its possible...  as everything's reference point is the top left corner....

If you search for "x.js" (first hit on Google in fact), that's some javascript that helps people making CSS table-less sites bottom align the footer on the user's browser.. maybe the code/thinking in there will help you with your problem


"If you make it idiot proof, they'll build a better idiot"
jimmy_fingers
Asp.Net User
Re: CSS - bottom,middle please3/24/2006 5:44:53 PM

0/0

Many thanks
suegooge
Asp.Net User
Re: CSS - bottom,middle please3/24/2006 7:00:58 PM

0/0

not sure what you really mean. I do use an image that is part of my footer section and it is locate at the bottom middle of page. here is the example : http://www.edream.org

If this is what you want, you can do it in many ways. I use Master page so every page inherits master page has the same bottom image. I can show you how to do it if this is what you want.


Sue's edream - www.edream.org


jimmy_fingers
Asp.Net User
Re: CSS - bottom,middle please3/25/2006 8:34:04 AM

0/0

Yes your site looks great! My footer was positioned originally in the bottom right corner of the page, but I needed it to be in the same place no matter what screen resolution was being used. it looked great in 1024*780 but at 1280*1024 it looked really badly placed. It's for this reason I elected to place it at the bottom middle of the page but was hoping to find a css command that would allow bottom middle placement of the footer (user control)
suegooge
Asp.Net User
Re: CSS - bottom,middle please3/25/2006 11:25:37 AM

0/0

if you have a link to your site that would help us to understand. first of all, is your page scroll? and your pages have various length? it is easy to position an image at the bottom middle of the page, but it would move up and down according to the screen resolution. If you want it *fixedd*, then the old school way is use frame which is not recommend in most cases. another way to do it is use "fixed background", no matter how you scroll your page, the background image stay in the same place. make the bottom image as part of your background you should get the same result.

not sure if this make sense to you.


Sue's edream - www.edream.org


jimmy_fingers
Asp.Net User
Re: CSS - bottom,middle please3/25/2006 3:24:11 PM

0/0

Is it possible to have more than one background image on a style sheet? The reason I ask is that I already have one as a backdrop, but yes it would make it super easy if I could. I've not put my simple site up just yet as I'm stil looking for cheap space.
SomeNewKid
Asp.Net User
Re: CSS - bottom,middle please3/25/2006 3:38:22 PM

0/0

jimmy_fingers wrote:
Is it possible to have more than one background image on a style sheet?
As much as this answer may annoy you, the answer is yes and no.

Yes, you can achieve this. But no, not by providing two background images to the same element.  You must find a second element that you can use.

For example, say that you want to add two background images to your entire page.  The first background image can target the body element:

    body
    {
        background: #fff url(gradient.gif) top left repeat-x;
    }

The second background image can target the html element:

    html
    {
        background: #fff url(watermark.gif) bottom right no-repeat;
    }

The html element contains the body element, so you can get your two background images by using the two elements separately.

Now, for any element except the entire page, you must find two separate elements.  The easiest way is to simply use two <div> elements directly:

    <div id="contentOuter">
        <div id="contentInner">
            <!-- style content goes here -->
        </div>
    </div>

Then you need to add your background images to the two separate elements.

    #contentOuter
    {
        background: #fff url(topleft.gif) top left no-repeat;
    }

    #contentInner
    {
        background: #fff url(bottomright.gif) bottom right no-repeat;
    }

Sure, it's a little bit clumsy, but it does work and there's simply no other way to get two background images working for the same area of the webpage.

Does that help?
 


Alister
jimmy_fingers
Asp.Net User
Re: CSS - bottom,middle please3/25/2006 6:58:31 PM

0/0

Works perfectly! Many thanks for your help and patience

 

James

jimmy_fingers
Asp.Net User
Re: CSS - bottom,middle please3/28/2006 1:11:06 PM

0/0

one more thing....

How did you get that effect for your background of a page on top of another page in the middle, and what were your dimensions? Looks really slick 

SomeNewKid
Asp.Net User
Re: CSS - bottom,middle please3/28/2006 5:47:01 PM

0/0

jimmy_fingers:
How did you get that effect for your background of a page on top of another page in the middle, and what were your dimensions? Looks really slick 
You will need to clarify to whom you are asking this question, since a number of people have responded.
 

Alister
jimmy_fingers
Asp.Net User
Re: CSS - bottom,middle please3/29/2006 10:26:13 AM

0/0

one more thing....

How did you get that effect for your background of a page on top of another page in the middle, and what were your dimensions? Looks really slick 

suegooge
Asp.Net User
Re: CSS - bottom,middle please3/29/2006 12:56:38 PM

0/0

jimmy_fingers:

one more thing....

How did you get that effect for your background of a page on top of another page in the middle, and what were your dimensions? Looks really slick 

You need to hit "quote" instead of "reply" to the post you are address to. This will help people understand who you are talking to.


Sue's edream - www.edream.org


jimmy_fingers
Asp.Net User
Re: CSS - bottom,middle please3/29/2006 3:27:46 PM

0/0

suegooge:
jimmy_fingers:

one more thing....

How did you get that effect for your background of a page on top of another page in the middle, and what were your dimensions? Looks really slick 

You need to hit "quote" instead of "reply" to the post you are address to. This will help people understand who you are talking to.

 

one more thing....

How did you get that effect for your background of a page on top of another page in the middle, and what were your dimensions? Looks really slick 

suegooge
Asp.Net User
Re: CSS - bottom,middle please3/29/2006 6:04:00 PM

0/0

To be honors, I am not quite sure what do you really mean. I don't have "background of a page on top of another page in the middle".  I used the same CSS from club site starter kit at here http://www.asp.net/vwd/Live/club/

You can download source code from here

http://msdn.microsoft.com/vstudio/eula.aspx?id=0b83b20a-9c7d-4d4d-a163-6c351cb66bc2

jimmy_fingers:
suegooge:
jimmy_fingers:

one more thing....

How did you get that effect for your background of a page on top of another page in the middle, and what were your dimensions? Looks really slick 

You need to hit "quote" instead of "reply" to the post you are address to. This will help people understand who you are talking to.

 

one more thing....

How did you get that effect for your background of a page on top of another page in the middle, and what were your dimensions? Looks really slick 


Sue's edream - www.edream.org


15 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Hacking MySpace: Customizations and Mods to Make MySpace Your Space Authors: John Pospisil, Pages: 376, Published: 2006
Foundation Website Creation with CSS, XHTML, and JavaScript: Design with CSS, XHTML, and Ajax Authors: Jonathan Lane, Steve Smith, Meitar Moscovitz, Pages: 275, Published: 2008
Web Technology: Including HTML, CSS, XML, ASP, JAVA Authors: Ramesh Bangia, Pages: 560, Published: 2006
DHTML and CSS Advanced: Visual QuickPro Guide Authors: Jason Cranford Teague, Pages: 424, Published: 2004
Web Design: The Complete Reference Authors: Thomas A. Powell, Pages: 901, Published: 2002
Web Design: The L Line, the Express Line to Learning Authors: Sue Jenkins, Pages: 547, Published: 2007
HTML, XHTML, and CSS Bible Authors: Bryan Pfaffenberger, Steven M. Schafer, Bill Karow, Charles White, Chuck White, Pages: 790, Published: 2004
HTML 4 for the World Wide Web: visual quickstart guide Authors: Elizabeth Castro, Pages: 384, Published: 2000
Foundation Dreamweaver Mx Authors: Craig Grannell, Jerome Turner, Todd Marks, George McLachlan, Matt Stephens, Pages: 433, Published: 2002

Web:
CSS - bottom,middle please - ASP.NET Forums Re: CSS - bottom,middle please. 03-24-2006, 1:33 PM. Contact ... Re: CSS - bottom,middle please. 03-24-2006, 1:44 PM. Contact ...
CSS Creator How to align the font vertically to middle? Please use any one of the properties in CSS. Use line-height or height ... line- height: 21px; vertical-align: middle; margin-bottom: 15px; ...
problem with css layers, please help - Talk Mania Forum ... 3 separate images (top, middle, bottom). ive managed to code the box fine. ... problem with css layers, please help problem with css layers, please help ...
CSS Layout - Auto Height Adjusting - Please Help - Dynamic Drive ... CSS Layout - Auto Height Adjusting - Please Help CSS. ... to the bottom and the 'middle' box doesn't drop all the way to the bottom either, ...
how do you vertically bottom align a block element using css? Nov 1, 2007 ... To help us maintain a healthy community please report any illegal or .... There are different values for this: - top - middle - bottom ...
CSS Arguments. need a fast fix please css arguments. need a fast fix please. ... the middle. Code: .padbcont_3A1FA66 { width:625px;}. the bottom ...
Safari Books Online - 9781590598047 - Pro CSS and HTML Design Patterns To create a middle-aligned sized absolute element, set height to size it. You can use top:0 and bottom:0 to align the element to the top and bottom. ...
Resizer - /After/Contents/Resizer.css If you do not agree with these terms, please do not use, install, ... left: 1px; bottom: 0px; width: 13px; height: 13px; } #bottom-middle { background: ...
advice on css layout please - HTML / CSS - Web Development I am pretty new to CSS so i am constanly finding situations where i am unsure of ...
...
Arranging text to float alongside an image - CSS at http://alphaworks.co.uk/imagetest/test.html (top and middle image / text pairs) where I've also attempted to achieve it with CSS (bottom ...

Videos:
Web Applications and the Ubiquitous Web Google TechTalks February 1, 2006 Dave Raggett Dave Raggett is currently a W3C Fellow from Canon, and W3C Activity Lead for Multimodal Interaction....
Affiliate Summit 2006 East -- Straight Talk on Search Engine Optimization Brief presentation on Search Engine Optimization with a heavy focus on Q&A. A very open, honest and straight to the point discussion about search eng...
Badvertisements: Stealthy Click Fraud with Unwitting Accessories Google Tech Talks September 19, 2006 Dr. Markus Jakobsson, Associate Professor of Informatics at IUB Associate Director of CACR ABSTRACT We descri...
AK vs. FACE Boxing




Search This Site:










property windows issue

dnn3 - how-to programmatically set the visibility of another module on the same page ?

how can i get a user's information while they are logged in

ie6 improperly caching secure pages

search - multiple parent portals - 3.1.1

looking for a web mail interface to use with dnn.

how to stop dotnetnuke from redirecting to my machine name.....

sourcesafe and web deployment

add exisitng project to solution doesn't work

error running in vs 2008

modalpopup and masterpage

cannot insert, update or delete data

call exe on client machine

rendering design time html in a different location

visual web developer installation not starting

dotnetnuke and iis configuration

communicating between two custom control's

modules.modulesettingsbase question ?

webparts - can't see minimize or close links

dynamically disable personalization

error in mobiledefault.aspx

move admin items to host tab

validateuser problems

displaying public page

moving from dev to production

aspnet_users userid :( windows authentication

dotnetnuke capabilities

unable to open asp.net web application

page not redirecting after login

timeout problem

 
All Times Are GMT