|
I think you must check out that,if you want to retrieve any image from database you must save that image any temporary location. then you can specify the location of thumbnail..
All the best
Anupam Singh
|
|
|
|
|
How to set background image for iframe? If set, it is not working in IE. But works with Mozilla and Google Chrome. How to fix bug in IE for displaying background image in iframe.
M Sworna Vidhya
|
|
|
|
|
Going from memory here, but it may help...
In most browsers you can set the background CSS property to transparent...but not IE. In IE you must also set the background of the content/page loaded in the IFrame to transparent.
I would assume that you need to set the background image property for the content/page that you are loading inside of the IFrame, not the IFrame element itself
|
|
|
|
|
I have a Header that in CSS is font-size:xx-large , however I want it to be larger.
How do I set a larger font?
(Using Visual Web Developer 2008)
.header
{
margin-left:auto;
margin-right:auto;
width:1024px;
height:100px;
background-color:#AAFBF9;
padding-top:5px;
font-size:xx-large;
text-align:center;
}
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC League Table Link
CCC Link[ ^]
|
|
|
|
|
|
I had tried that, had no fun.
EDIT: Sorted!
Forgot the PX!
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC League Table Link
CCC Link[ ^]
modified on Monday, October 11, 2010 4:53 PM
|
|
|
|
|
Dalek Dave wrote: Forgot the PX!
Dave
Find Me On: Web| Facebook| Twitter| LinkedIn
CPRepWatcher now available as Packaged Chrome Extension, visit my articles for link.
|
|
|
|
|
You can set a larger size using something like px (pixels). This isn't a great solution however, as it's not very friendly for scalable pages. I would use something like em instead. You can set it to something like font-size:2.2em .
|
|
|
|
|
I would also suggest setting your body font-size to 62.5%. This way, it is easier to convert between em and px.
For example:
body{
font-size: 62.5%;
}
p{
font-size: 1.2em;
}
|
|
|
|
|
Thanks, good idea.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC League Table Link
CCC Link[ ^]
|
|
|
|
|
|
Always a good idea
|
|
|
|
|
I've created a seperate html files for navigation, content and footer. I want to club those files. All the navigation, content, footer files resides in the same directory where the index.html file resides. I want to include the above mentioned html files inside the index.html. I have tried using the following in index.html file
<!--#include virtual="topbanner.html" -->
I also tried using the asp code which also fails. I tried with asp by changing all the html file extensions as .asp. Then i tried to place the following asp code in index.asp file as
<!--#include file="topbanner.asp" -->
Kindly solve my problem. This is an urgent thing to do for me.
M.Sworna Vidhya
|
|
|
|
|
Is it a full html file that you're trying to include? If so, this will cause you a problem as you should only try and import the relevant elements, and not the full page. BTW - convention seems to be to use .inc extension for include files.
|
|
|
|
|
The only way I can think to do it outside of something serverside would be to use javascript with a document.write()....maybe this will help http://www.cryer.co.uk/resources/javascript/script4.htm[^]
I would use php to do what you want on the server side of the fence. PHP has a number of related function like include() that I use to seperate my html output into different sections. I do this by making a number of small php files like....
header.php
menu.php
footer.php
these can all contain the basic html output like this example
header.php
-----------
<html>
<head>
<title>My Site</title>
<body>
.....end header.php
AND
menu.php
-------------
<div>
<ul class='menu'>
<li><a href=''>Link 1</a></li>
<li><a href=''>Link 2</a></li>
</ul>
</div>
hope that helps...
AND
footer.php
-------------
</body>
</html>
......end footer.php
NOW you just call these from a page script like this.
index.php
--------------
include('header.php');
include('menu.php');
// start page content....
// end page content....
include('footer.php');
|
|
|
|
|
How does it fail? Does it cause an error?
Have you checked to make sure your server is configured to handle SSI?
I thought that html files had to end with .stm in order to get IIS to parse the includes.
|
|
|
|
|
Hi,
I am wondering if anyone can point me at an example of a CSS layout that I cannot get to work for the life of me, despite reading countless tutorials. (Give me a bit of C++ and I'm usually okay, but I have to admit CSS still feels like a black art to me).
The layout I am wanting is:
- whole layout centred
- 3 colums
- 2 side-columns fixed width, centre column variable (but with a min and max maybe)
- all 3 columns same height regardless of amount of content
I really don't want to resort to tables, but I just can't get this to work with divs and CSS.
Please help!
Best wishes, Patrick
|
|
|
|
|
Can you post your code so we can take a look at it?
|
|
|
|
|
Hi,
Thanks for the reply.
I finally found a layout that seemed to do most of what I wanted, based on something called the 'Skidoo' layout. It's not perfect, but it has given me enough to get started, and at least I (mostly) understand what the hell is going on.
So I don't have my original 'broken' code to post anymore.
Thanks to anyone who has taken the time to read my post though.
Best wishes, Patrick
PS - Something very funny seems to have happened with the threading of my message: it now seems to be embedded in the middle of another discussion, which even appears to contain an advert for an online game.
|
|
|
|
|
I want to learn how to develop websites. I need everybody's help.
|
|
|
|
|
You need to help yourself first. Start with Google[^].
|
|
|
|
|
Lots of samples, tutorials etc on the ASP.NET[^] site.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
I'd start off by buying some decent books on web development then, if I were you.
|
|
|
|
|
I would say there are two main paths to web development. The code path and the visual path. You will need to decide which one is best for you to learn. The code path is a person that likes to understand the languages of the web(HTML, JavaScript, CSS) and how they fit together. The visual designer will focus more on the look and feel, less reading is involved but IMHO, you miss a lot too. But you can still "make webpages" it just means you need a great visual editor so you can draw the website out in whats called a wysiwug(What You See Is What You Get). The editor will make the page code for you, my limited experience is they often add more junk code than I feel is needed, but I am a coder.
If you want to get started with a code path then grab a good text editor. I use notepad++ on windows and bluefish on linux, both are free. You can also look into tswebeditor or crimson editor, again free, but getting a little dated.
You MAY need a webserver if your code start becoming more complex and you add dynamic elements to your projects, but to start you can use the file open in your browser to open any html page on your local machine.
A note of browsers, more is better. Each browser has settled on a hand full of rendering engines. And so a web page will display differently in different browsers. Even the same browser of different version will not be 100% alike, IE6 and IE7 for example. So grab the most stable releases of Internet Explorer, Fire Fox, Google Chrome and if you don't mind paying the money Opera. Any page you make should look almost the same in each and must behave the same. This is very true with scripts and CSS.
Once you have a basic understanding of HTML, CSS and a little javascript. Start looking at the different code for different websites...and visit Eric Meyers website, he is one of the best in using CSS.
If you want to go the visual route I do not have much info to give you. I do know that both Microsoft and Adobe have visual web designers, but have no idea what they are even called now.
No matter which route you go, be prepared to spend a lot of time improving your skills.
All the Best
Chris
|
|
|
|
|