Expand the Background Image to Cover the Entire Region Title
I have a region title that contains an image and it has a height of 2 rows but the background image (blue image) is not expanding in the area (the css contains repeat for the background). The application uses theme 2. Can someone help?
CSS:
.rc-title {
background: url("../images/bg-region-blue-l.gif") repeat scroll 0 0 transparent;
float: left;
width: 100%;
div.rc-blue-top
background: url("../images/bg-region-blue-l.gif") repeat scroll 0 0 transparent;
float: left;
width: 100%;
}I created the application on APEX.ORACLE.COM:
Workspace: RGWORK
User: TESTER
Password: test123
Application : CSRSR (33558)
Select Signage from the menu (only choice).
You will see that one of the tabular forms has Nameplates and an image, another tablular form has an image but no text (Nameplates) even though it is there. I would live the blue to cover both the image and the text.
Please help
DB: 10g
APEX 4.1
APEX 4.2 (APEX.ORACLE.COM) works the same way.
Robert
http://apexjscss.blogspot.com
sect55 wrote:
fac586 ,
I would like to try the second option:
>
Another option would be to eliminate the problem by moving the nameplate images out of the region titles. There's horizontal space within the regions that will allow these images to be positioned to the left of the tabular forms, which would look OK.
But how do I reference the horizontal space within the regions? I looked at the template for the region:
<div class="rounded-corner-region float-left-100pct" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>
<div class="rc-blue-top"><div class="rc-blue-top-r">
<div class="rc-title">#TITLE#</div>
<div class="rc-buttons">#CLOSE##PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##CREATE2##EXPAND##COPY##HELP#</div>
</div></div>
<div class="rc-body"><div class="rc-body-r"><div class="rc-content-main">#BODY#<br />
</div></div></div>
<div class="rc-bottom"><div class="rc-bottom-r"></div></div>
</div>and couldn't find out to put the image in the horizontal space.
Can you please help me by providing the details? There are two options, depending on the role you see the nameplate images playing on the page. I've used the two regions to provide one example of each.
*1. Nameplate as eye-candy:* If there's sufficient information in the region title, region content and item labels to make the nameplate images superfluous in providing information to the user, and you're just using them to improve the appearance of the page, then they can be applied purely using CSS.
/* Nameplate image as CSS eye-candy */
#nameplates-ndc div[id$="catch"] {
min-height: 36px;
padding-left: 113px;
background: transparent url(#WORKSPACE_IMAGES#nameplate_ndc.gif) top left no-repeat;
background-size: 103px;
}Note the use of the CSS3 <tt>background-size</tt> property to resize the image. If the app has to run in browsers that don't support this then you'll have to drop it and create an image of the exact size required for use in the <tt>background</tt> rule.
*2. Nameplate as content:* If the nameplate images are necessary to provide information to the user, then they have to be included in the region (and they must have an <tt>alt</tt> attribute providing an alternative representation of the information contained in the image).
Put the image in the region Header:
<img src="#APP_IMAGES#nameplate_n.gif" width="103" alt="Nameplate (name only)" />and float it so it sits alongside the form:
/* Nameplate image as page content */
#nameplates-name .rc-content-main img {
float: left;
margin-right: 10px;
}
Similar Messages
-
How to repeat a background image to cover the height of the page?
Hi
I have a page with an image alinged to the top in a table and
I have a pattern in the background of the cell in the same table
I need that background of the cell to repeat it self along
the height of the page, so when someone views the page at a higher
resolution, the background image will repeat it self to cover the
extra space.
I've tried setting the height of the table to percentage, but
the table doesn't cover the height of the page.
I could also make the table really long so when viewed at
higher resolution there wont be any blank space at the bottom, but
this makes an unnecessary and long scroll when viewed at lower
resolution.
Someone told me to use css but i have now idea how to
implement that.make sure you have set your page margins to 0 if you don't
want the default
margin top left. Cut and paste the following into the head of
your document
just before the closing </head> tag.
then if you want to repeat a background image in a cell, you
need to create
a rule to do this:
.cellback {
/*this repeats the image across the page horizontally*/
/* if you want to repeat down the page, then change to
repeat-y */
background: url(pics/whatever.gif) repeat-x;
you can combine this background image rule with the other
margin setting so
you have:
<style type="text/css">
<!--
body {
margin: 0;
padding:0;
.cellback {
background: url(pics/whatever.gif) repeat-x;
-->
</style>
You then apply to the class to your cell
<td clas="cellback">
Examples here:
http://www.dreamweaverresources.com/tutorials/pagebackgrounds/cellbackground.htm
this shows how to use a background image for your entire
page:
http://www.dreamweaverresources.com/tutorials/pagebackgrounds/examplehor.htm
Nadia
Adobe� Community Expert : Dreamweaver
http://www.csstemplates.com.au
- CSS Templates | Free Templates
http://www.perrelink.com.au
- Web Dev
http://www.DreamweaverResources.com
- Dropdown Menu Templates|Tutorials
http://www.adobe.com/devnet/dreamweaver/css.html
> I have a page with an image alinged to the top in a
table and I have a
> pattern
> in the background of the cell in the same table
> I need that background of the cell to repeat it self
along the height of
> the
> page, so when someone views the page at a higher
resolution, the
> background
> image will repeat it self to cover the extra space. -
Display records returned for a query in the Report Region Title
Hi,
Is there any variable set that can be referenced to indicate how many records have been returned for a specific query. I have several hide/show regions dealing with various reports, and I would like to add a little info into the region title to display how many records there were returned for the report in this region.
Thx in Advance,
cliffHi,
addendum
These are simple sql queries BTW. I've seen posts alluding to the SQL%ROWCOUNT when using cursors. Is there any variable we can reference when using a simple sql query?
thx
cliff -
How to expand background image or a div to fit browser
Hi All,
Can anyone advise on how I can expand my background image (or currently an image in a div) to fit the browser.
Current page is www.curtissigns.com
I have been trawling through the forum but could do with being pointed at some sample code.
Any advice would be helpful..bearing in mind that I am no expert and have lots to learn LOL
StuartYou have some serious issues with your code.
40 errors and 5 warnings.
You'd be best off if you clean those up using the validator here: http://validator.w3.org/
As for the 100% background image, there are several ways to do that, all with varying support in older browsers. The easiest way (with least old browser support) would be to use the background-size:cover css attribute. Here's an explanation of how to use it: http://www.w3schools.com/cssref/css3_pr_background-size.asp
If you are worried about older browsers, you'd need to use a javascript, depending on your coding skill, this page gives you everything you need http://louisremi.github.com/jquery.backgroundSize.js/demo/ -
Expanding the all-day region in iCal
Is there any way to expand the viewing region of the all-day events in the week view of iCal? It is apparently limited to 6 items and expands or shrinks to fit the largest number of daily items for the week. It would be useful to allow a user-defined maximum or a fixed size. Usually grabbing the border line between the all day events and the hourly events allows for adjusting but that does not seem to work.
And another year on and this is now an issue for me also, still just the 6 can be seen with no way to expand the field.
Best I can do so far on the iPad is to click on the search field and that at least opens them all in list view and from there they can be individually browsed. -
How to hide search box in the search region for the attachments (table)
Dear,
I have attachments region on the page with Render Search Region property set to true. What I want is to hide the text box in the search region? Is it possible? If I set this property to false the whole region goes away. I want the search region to stay, just get rid of the search box.
And one more question - what property (of the attachment image) governs 'Publish to Catalog' behaviour?
Thank you.
AnatoliyI dont think that its possible to change the image.
Are you trying to disable the document search ? Is the entire region disappearing when you tried disabling the search through personalization, walking the page hierarchy ? Is it for Document catalog ? If so, then it is a bug
Thanks -
Referencing the default region via URL
I need to expand the URL region= call to work with a template. I am creating a template for my users that will allow them to upload a file to the default region of the page. Normally I would simply use the region id, however, I do not want the file uploaded to the template, but to the region of the individual pages.
Is there a way to dynamically generate the region id? Is there a region=DEFAULT option? Can anyone help?The Problem when used in conjuction with a template is that an item added to the template give the TemplateID instead of the pageID when you specify the associated function. The solution is to figure out the page ID yourself instead of passing it to the procedure. You can use the following code to do this:
v_page := p101202_050720.wwpro_api_parameters.get_value('_pageid','a');
v_page := substr(v_page, instr(v_page, ',')+1);
This code is meant as a sample ... if you have tabs you will need to further substring to just get the pageID ..wwpro_api_parameters.get_value('_pageid','a'); returns in the following format:
pagegroupID,pageID
if there are tabs then:
pagegroupID,pageID,tabID
Please keep in mind that scraping the page off the URL is not a supported use of this procedure and may break in future release if Oracle changes the structure of the URL.
Hope this helps,
Candace -
How can I make an image placed in the body tag expand to the entire width of the browser?
How can I make an image placed in the body tag expand to the entire width of the browser?I
background-repeat -- best used with small image tiles.
background-gradient - Ultimate CSS Gradient Generator - ColorZilla.com
background-size:cover - Resizable Full Page Background Image
Nancy O. -
How to set a background image to fill the entire screen on any device in a spark mobile application
Hi,
I started developing a mobile application with Flex.
I'm trying to set a background image to fill the whole screen. I've been stucked at this point for days now. I tried everything and no solution seems to work for me.
I'm using a TabbedViewNavigatorApplication and i need to set some background images on views.
I need my image to fill the entire screen on any device. i don't need to mantain image aspect ratio, just need it to be fullscreen. This seemed to work when setting a custom skin on the TabbedViewNavigatorApplication, however this blocked all my views for some reason and all components contained in view became invisible.
Can you please tell me how can i achieve this?
Kind regards,
DanBasically you need a larger image which can accommodate any device. The trick is to show only what each device can display, so therefore some clipping will occur based on device. Have something centered and towards margins have a gradient or just plane colors that way the stuff in the middle will be visible on every device while nobody will care if you are clipping from the color fill.
C -
How do I fit a background image to fill the entire page?
Hi,
could anyone please tell me how I use e.g. a jpeg image as a background image that fits the entire page without getting horizontal or vertical scroll bars?
ThanksHi Pziecina and Nancy O.,
thank you so much for your mails. However, I'm still trying to figure this out.
@ Pziecina...I studied the source code of your webpage and tried to insert parts of it into my own page in different variations. The solution to my problem must have something to do with CSS and img src height and width. All I get is a white page. I found out that an image size set in Photoshop apparently doesn't have any effect on whether the image fills the browser 100% or not.
@ Nancy O. What I'm trying to do is to use one single image as background for a single page on the website, I'd like to construct. An image that opens up to the entire width of the screen...not just the browser. I imagine this with layers of transparent/solid color for text fields. I studied the website page, you suggested and a repeat action is not what I aim for. And I realize that maybe I'm thinking too much in Photoshop terms...thinking I can do similar actions in Dreamweaver. I'm well aware of the whole thing being 'too much' in terms of design and usability but if you check out www.frauhaus.dk I think that works beautifully, although it doesn't open up to the entire screen. I'd like to see if that design concept will work for my own website or if it's going to be too confusing.
And to both of you I really appreciate your time and input, thanks. Even though I'm still getting grey hairs as a beginner I keep thinking that there's got to be a solution to this.
Best regards from MissRaspberryDream -
Am using iweb. Want to put a large photo across the entire computer screen, not just the web page. How large a photo do I need?
Have a look :
http://dl.dropbox.com/u/3563737/Lycos/Beach.html
Use your own image and paste the code in a HTML snippet.
The size of the image depends on the size of the browser window of your visitor. And it will never be larger than the browser window. -
How do I keep the body background-image centered?
I have a body background-image that does not fill up the
entire window on the tops and bottoms of most monitors (it
strectches to the left and right just fine) and so I would like to
have it centered vertically with equal amounts of the
background-color #ECE5C8.
I assumed using background-position: 50% 50% would do the
trick and it does until switching to full screen mode and all the
content jumps upwards and messes up the whole site layout (IE
only-in friefox, the background-image still doesn't center) so
instead I have the background-position set to: 50% 0%.
Thanks a million to anyone who can help me get it centered, I
know there has to be an easy fix but I sure can't figure it out!
The site can be found here:
http://www.lightspacewebdesign.com/sacredsolasThere would be only two ways to make this layout 'work'.
1. Just make everything on that page a graphic. Then there is
no
possibility that resizing the text in the browser will blow
the layout.
This is a very bad idea for obvious reasons.
2. Have the text containing 'graphical box' built in pieces
so that as the
text expands, it can cause the box to expand as well. The
easiest way to do
this is with a top a middle and a bottom image of the box,
using each as the
background image of three stacked containers. Place the text
in the middle
container and as it expands, it will tile the middle
background image
vertically to give the impression of the box expanding. This
approach
doesn't lend itself to your background image, since there is
no way to tile
the background image to fill the newly created space.
Beyond that, I think you are a dead duck. The problem is not
that this is
what you were given to work with - it's that you didn't
understand how
unusable the design was when you accepted it. I think your
best option now
is to go back to the designer and explain to them how this
lovely layout
only works well in print, and not on the web. Show them how
it fails.
Solicit suggestions from them for how to make it work in a
medium where
there is no way to control the size of the text.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"afriendofcheese" <[email protected]> wrote
in message
news:[email protected]...
> By "a rigid layout scheme that cannot allow flexibility"
I assume you mean
> that
> everything shouldn't be bound inside the position of the
background-image,
> but
> this is what the designer and client gave me to work
with.and so I have to
> make
> due.
>
> With that in mind, I hope someone out there can help me
out with this!
> -
Wallapers dont cover the entire canvas
I've been trying to make some wallpapers for some handsets
and whenever I send them to my phone via a txt msg and install them
they never take up the entire canvas. It doesn't seem to matter
what size image I am using, i've even tried using images larger
than the screen size of the phone and still i'm left with a
wallpaper that doesnt expand to the entire canvas.
Anyone have any idea why this is happening ? Ive been trying
on the lg vx8500 and lg1500 and have had similar problems with both
so it must be something on my end but i have no clue what it could
be.
I've been using photoshop to create the gifs then i use
http://www.funformobile.com/
to send the image to my phone via txt msg."BobFromTheYear5K" <[email protected]> wrote
in message
news:go40au$f1q$[email protected]..
> Ok, this is an act of pure desperation. I generally like
to figure this
> stuff
> out on my own, but I'm stumped on this one. It may be
worth noting that
> I'm
> fairly new to Flex.... :-)
>
> I've built a Home Screen for a kiosk app I'm working on.
There's a nav
> bar
> along the bottom of the screen with some buttons. One of
which is
> supposed to
> display a custom Options Menu.
>
> So to get started along this path, I added a Panel to
the main Canvas
> containing the Home Screen and gave it "0,0" coordinates
and a size of
> 100% x
> 100%. I set the 'z' property to "999", the idea being
that it would sit
> on top
> of and cover the entire Home Screen.
>
> However, the x, y, height & width properties are all
being completely
> ignored.
> The Panel is always drawn centered on the Canvas and is
only about 25% as
> large as it should be. Though oddly it's height &
width are correctly
> proportioned.
>
> Has anyone encountered anything like this? Is there
something obvious I'm
> just not seeing or am forgetting to do?
>
> Here's the code if it helps and thanks!
Could you boil it down and provide a more simple example? I
don't want to
mentally construct your component from your code, and because
you have used
custom components, it's not possible to physically copy and
paste your code
and get something that will work. -
How to get background image to fill the browser and remain fixed in both IE and Firefox?
Basically what it says in the title. I've come very close in achieving this but something just doesn't tie up in the html and css code...
First of all, I'm using IE8 and the latest version of Firefox to test this.
I used 2 sources of information for getting this done: 1) http://css-tricks.com/perfect-full-page-background-image/ and 2) http://stackoverflow.com/questions/8958697/css3-background-size-cover-doesnt-make-image-co ver-vertically
In Case 1 the example on the page called CSS-Only Technique #1 gives code that works almost perfectly for me, except that obviously I need a background image, however the CSS provided there is clearly just for an image dropped in the body of a page with no regard for other content that may already be there. The html code that I put on the page is simply <img class="bg" src="../images/background_image.jpg">
Obviously I used the CSS code provided in the example, minus the last bit which is "@media screen" etc etc, which seems irrelevant to me. Obviously substituting values to suit the image on my page.
So what happened is that it almost worked as intended in both the browsers (which means the image filled both browsers width-wise as intended and also remained fixed when I zoomed in or out in each case) except that the image went over the top of the current content that I had there already precisely because it's not a background in this "technique". (A curious side-note is that the image didn't push down the content, as I'd have expected in normal circumstances, but went right over the top of it so it hid it (like z-index).
One thing that does bother me about this "technique" is that if you click on View Demo just below the code provided you will see on the working example page (forest background) the image clearly works as a background and the content sits happily on top! So I don't know whether the person providing the example was trying to mislead people or what! Or he got lazy and showed a different page that didn't use the exact code he provided. No matter.
In any case this leaves me with the job only half finished, as I still need a background image that works like the 'normal image' code provided.
On to Case 2 and on this page the first example provided gives the CSS for the background image - namely the code within html {...} part and also shows the same 'normal image' code as given in Case 1. In this case however, although the person provided a suggestion, the css and html doesn't really tie up properly plus some of the css and html seems a bit redundant. So this time when I used the 'html portion' of the CSS code (i.e. just the bit that was most relevant) I got two different behaviours in each browser and neither of which was quite what I'm looking for. In IE8 initially the page looks fine (background fills the page and content is on top) however when I zoom in or out the background also zooms in or out accordingly so is NOT fixed. In Firefox the background image DOES stay fixed, however because the image originally is not the whole height of the browser I'm guessing the code stretches it downwards (while keeping proportions - so the image essentially enlarges) to fill all of it. The quick way to get around it is to probably add some white space to the bottom of the image just to give it enough height that it doesn't stretch/resize automatically. But it would be nice to find out anyway how to get around this in the code. Overall I would say that the result in Firefox comes closest to the desired solution but of course it doesn't help matters with IE8.
Apologies for the lengthy description but that should at least provide plenty info for anybody that might have a possible solution for me. Essentially what would be great is if somebody could advise me how to take the code from Case 1 and apply it to a 'background' piece of coding like the type that's contained within html {...} in Case 2. Like I said, it's so nearly there but I just can't make it work atm after trying to combine the various bits of code this way and that... Alternatively, if somebody has another html-css version that works nicely for achieving this then please by all means let me know! Thanks v much in advance!This works in modern CSS3 supporting browsers. But not pre-IE9.
http://alt-web.com/TEST/Resizable-BG.shtml
Nancy O. -
Using a background image for the buttons in spry menu
Hi All,
Going nuts here.
I'm using the vertical spry menu widget w DW CS3 and trying
to alter the css style sheet, so that I can use a li class for each
of the 14 links on this page, with an upstate and a hover state
only. (the focus, and hover while down will be the same as the
others, to keep it simple and not too distracting)
The page is here that I will be replacing the entire
background image in sidebar1 and sidebar2 with a custom spry menu
with the 14 li classes for 2 seperate menus:
http://audibleimagesav.com/blank_doc.html
Has anyone used a background image in place of just using
bkgrd colors and borders for the spry menu ?
I am aware of the attributes that the help docs suggest that
need to be altered as listed here :
http://livedocs.adobe.com/en_US/Spry/1.4/help.html?content=WS0BB04E11-1BE3-4a67-BC94-BE7DA 93A0159.html
I have been working on just an experimental page, that is now
hacked up, however if you want to see that it is here with only the
first list item coded:
http://audibleimagesav.com/site%20theme%20ideas/sprymenu_exp.html
The spry css menu widget for that page is here:
http://audibleimagesav.com/SpryAssets/SpryMenuBarVertical.css
So in short, has anyone done a bkgrd image for the main menu
(not submenu) in a spry widget?
Thanks in advance.
Art
Art Hansen
Web Design & Marketing
http://www.innova-techsolutions.com
321.750.3852 - Cocoa Beach, Florida, USAhttp://meyerweb.com/eric/css/edge/popups/demo2.html
Maybe
Maybe you are looking for
-
Changes to [No Paragraph Style] causing unwanted style overrides
Hi fellow InDesigners I'm using InDesign CS6. I'm working with long documents that were originally created in previous versions (CS4 and possibly earlier). My standard workflow for these jobs is to do the bulk of the text formatting in a newly create
-
Singleton web start application 1.4 ?
is there a way to configure a web start application to be singleton in the JNLP1.4 ?
-
13.3" MBP Audio line in Question
I have a 13.3 md-2009 MBP and want to do some recording on the laptop. I want to transfer some music from LPs to the laptop but do not know whether the headphone/audio line in accepts stereo? I thought I read that it only will record in mono, but the
-
Versamail Suddenly Stopped Working
suddenly monday at 3:30PM my centro stopped pulling emails from the server -although i am getting them on my desktop, i can get on the web (on the centro), i can SEND (!?) from the versamail account and I can get my AOL through both Versamail (althou
-
Generated PDF file...TOC Items Not Linked
Been racking my brain all day trying to figure out how the heck I created a PDF document TOC with hot links to the document pages from FM 9...and now all of a sudden when I save as a PDF from FM 9 my PDF document TOC is not linked to the document. H