|
Its pretty obvious if you size things as absolute then if the screen resolution is different to yours its not going to look right. The same type of thing can happen under different browsers. Try researching the different ways to position items using CSS.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link href="css.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="101%" border="0" cellpadding="0" cellspacing="0" class="tbl1">
<tr>
<td rowspan="3" align="center" valign="top" width="15%">
<img src="images/bgleft.jpg" height="600" width="171" align="top" /> </td>
<td width="65%" align="center" valign="top"><img src="images/top.jpg" align="top" width="780" height="194" /></td>
<td rowspan="3" align="center" valign="top" width="20%"><img src="images/bgright.jpg" align="top" width="197" height="600" /></td>
</tr>
<tr>
<td height="359" align="center">b</td>
</tr>
<tr>
<td align="center">
<img src="images/bottom.jpg" align="bottom" height="39" width="780" /> </td>
</tr>
</table>
</body>
</html>
css file is:-
@charset "utf-8";
.tbl1 {
position: fixed;
left: 0%;
top: 0%;
background-position: center center;
height: 100%;
width: 100%;
}
what is problem with this code
Thanks for reply. :-D
<div class="ForumSig">I will do my best?</div>
|
|
|
|
|
I have no idea what is wrong with your code. I saw in your original css post that many of the positions were absolute, which is why they would display differently at different resolutions.
There are ways of overcoming your problems, hence my suggestion to research different ways of positioning items using CSS.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
tanks for reply but i would like to know
that can i do a page show good in different resolution not cutting images no horizontal scroll. means a perfect webpage. give me a link or example to perform my task?
or whenever i create a page web page.
thanks in advance.
I will do my best?
|
|
|
|
|
You need to use Google and find how to determine screen size and resize images on the fly. Its all done with javascript, there are plenty of examples.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
i find and do many of the things but i didn't find any good answer which solve my answer and second is you suggest from javascript i have at least 6 images for one page than i will made how many images for all browser and according to monitor screen size. if there is any other solution than told me? thanks for reply.
I will do my best?
Integrated Solutions, Bikaner (Raj.), India
|
|
|
|
|
No, I'm out of ideas. Try employing a GOOD web developer
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Generating the Image Preview instantly(Without Sever Trip) when user Selects Image from HardDisk.
I am unable to get this worked. Please help me out.
modified on Friday, February 20, 2009 12:58 AM
|
|
|
|
|
If no server trip thn javascript is the only best option.
Load the image to a div using js
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hi everyone,
I have to write an xml file which should look like the below XML file
<?xml version="1.0" encoding="ISO-8859-1"?>
<DEPT>
<CATALOG ID="10">
<CD>
<TITLE>Empire Burlesque 10</TITLE>
<ARTIST>Bob Dylan 10</ARTIST>
<COUNTRY>USA</COUNTRY>
<COMPANY>Columbia</COMPANY>
<PRICE>10.90</PRICE>
<YEAR>1985</YEAR>
</CD>
<CD>
<TITLE>Hide your heart 10</TITLE>
<ARTIST>Bonnie Tyler 10</ARTIST>
<COUNTRY>UK</COUNTRY>
<COMPANY>CBS Records</COMPANY>
<PRICE>9.90</PRICE>
<YEAR>1988</YEAR>
</CD>
<CD>
<TITLE>Greatest Hits 10</TITLE>
<ARTIST>Dolly Parton 10</ARTIST>
<COUNTRY>USA</COUNTRY>
<COMPANY>RCA</COMPANY>
<PRICE>9.90</PRICE>
<YEAR>1982</YEAR>
</CD>
</CATALOG>
<CATALOG ID="20">
<CD>
<TITLE>Still got the blues 20</TITLE>
<ARTIST>Gary Moore 20</ARTIST>
<COUNTRY>UK</COUNTRY>
<COMPANY>Virgin records</COMPANY>
<PRICE>10.20</PRICE>
<YEAR>1990</YEAR>
</CD>
</CATALOG>
</DEPT>
And this file should get stored in the client location.
can anyone please help it out?
Thanks and Regards,
Srilatha
|
|
|
|
|
Well, Javascript can not write anything on your disk...
What you can do is to use some activex control which can do this for you.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
ActiveX controls will only work with Internet Explorer, however. I bet you could do it with java.
I think saving anything to the clients side in the form of an .xml document would be tricky. You might consider using one or multiple cookies.
|
|
|
|
|
Rather than writing all that client-side code, you could let your server return an XML content-type. The browser will prompt the user as to where to save the content.
|
|
|
|
|
Take a look at adobe's link below.
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14201&sliceId=1[^]
This adobe link have three flash files.
MY Goal
My sister has no idea to deal with some software. So I wanna make a flash to teach my sister using the software step by step just like the adobe link does. Transfer the flash file from network to her. So how could I make such a flash file?
Please do give me a guide or some useful link. Thanks in advance.
|
|
|
|
|
Try reading the Flash user guides that you get when you BUY a copy. Its far too much to expect a full training course on a forum.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
|
It's very kind to you for giving me a guide. I appreciate for your help.
|
|
|
|
|
Also if you want to make the guides yourself try using "Adobe Captivate"
You can use this to record yourself doing things in the sofeware and add annotations, sound etc.
|
|
|
|
|
Hi Everyone,
Below is the format of XML File.
<?xml version="1.0" encoding="ISO-8859-1"?>
<DEPT>
<CATALOG ID="10">
<CD>
<TITLE>Empire Burlesque 10</TITLE>
<ARTIST>Bob Dylan 10</ARTIST>
<COUNTRY>USA</COUNTRY>
<COMPANY>Columbia</COMPANY>
<PRICE>10.90</PRICE>
<YEAR>1985</YEAR>
</CD>
<CD>
<TITLE>Hide your heart 10</TITLE>
<ARTIST>Bonnie Tyler 10</ARTIST>
<COUNTRY>UK</COUNTRY>
<COMPANY>CBS Records</COMPANY>
<PRICE>9.90</PRICE>
<YEAR>1988</YEAR>
</CD>
<CD>
<TITLE>Greatest Hits 10</TITLE>
<ARTIST>Dolly Parton 10</ARTIST>
<COUNTRY>USA</COUNTRY>
<COMPANY>RCA</COMPANY>
<PRICE>9.90</PRICE>
<YEAR>1982</YEAR>
</CD>
</CATALOG>
<CATALOG ID="20">
<CD>
<TITLE>Still got the blues 20</TITLE>
<ARTIST>Gary Moore 20</ARTIST>
<COUNTRY>UK</COUNTRY>
<COMPANY>Virgin records</COMPANY>
<PRICE>10.20</PRICE>
<YEAR>1990</YEAR>
</CD>
</CATALOG>
</DEPT>
I want to retrieve the node values by differentiating with Catalog ID attribute.
Can anyone help me out regarding this.
Please do the needful
Thanks and Regards,
Srilatha
|
|
|
|
|
var xmlDoc = new ActiveXObject("Msxml2.DOMDocument.3.0");
xmlDoc.async=false;
xmlDoc.load("MyFilePath.xml");
var nodesList = xmlDoc.SelectNodes("//DEPT/CATALOG");
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hi manas,
Thanks a lot.
Its working
thanks and regards,
Srilatha
|
|
|
|
|
I could never figure out how to use these two... z-index and overflow. Can someone give me an example of how these work?
|
|
|
|
|
These are simplifications, but should be enough to get you started.
z-index:
Think of a web page rendering as a parallel projection[^] of a series of rectangles, each positioned on a plane facing the screen. The coordinate system is constructed such that the z-axis extends toward you from the screen, x to the right, and y towards the bottom. Rectangles are rendered back-to-front. Therefore, increasing the z coordinate positions them nearer to you (the viewer) and thus gives them the ability to draw over the top of siblings with smaller z coordinates. z-index specifies that z coordinate explicitly.
overflow:
Block-level elements ("rectangles" in the previous example) can contain children (block elements, inline elements, text, etc). If the size of the parent is not great enough to completely display the children, then something must happen: some or all portions of some or all children may be clipped (hidden), displayed outside of the parent, or clipped along with the addition of a mechanism (scroll bar(s)) to allow the user to bring clipped areas into view. These options correspond to overflow: hidden , overflow: visible , and overflow: auto , respectively. There's another option, overflow: scroll , which shows scrollbars all the time - i don't know why you'd want it though.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Hi,
I read that it must be robots.txt and not Robots.txt. So I was wondering if it is case-sensitive, and I have a directory called Admin (and not admin), does it also have to be case-sensitive in the robots.txt file as well?
So my current file looks like:
User-agent: *
Disallow: /admin/
I just want to protect the Admin directory from robots. Or should it be:
Disallow: /Admin/
Please can some one help me with my confusion?
Is it wise to use robots.txt or is it better to use the same in the meta tags?
Thanks
Brendan
|
|
|
|
|
.NET Enthusiast wrote: So I was wondering if it is case-sensitive, and I have a directory called Admin (and not admin), does it also have to be case-sensitive in the robots.txt file as well?
Yes.
.NET Enthusiast wrote: Is it wise to use robots.txt
Yes.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|