Centre Align Web Page Content
Hi,
Need some help center aligning web page content when it maximizes or is resized. I have grids, panels, etc and want these to center on page.
Is there a property of the page/body/head/form/div that can be set for this or is javascript required to achieve this.
Any help mcuh appreciated.
SNI
Hi,
I tried what the thread did and still cannot my layout panel to center align.
This is my jsp line:
<ui:panelLayout binding="#{Login.pnlLogin}" id="pnlLogin" style="height: 306px; left: 382px; top: 216px; text-align: left; vertical-align: middle; width: 100%; -rave-layout: grid; horizontal-align: left;">
Similar Messages
-
I want to take radio programme listings from a web page, such that I can parse the data and select certain programmes details only.
Firstly how do I actually get the web page content out? Does it go into a text file? The actual content includes programme times, which might be a means of picking out selected text. Does anyone know where I could find some code that will do that. My intention is to pass this information into a database which connects to my own web site.
This is for a dissertation and I am starting to run out of time, so I would be hugely grateful for any assistance.
Thanks
RobLooks like you need to...
a. Read Javadoc for java.net.URL
b. Read about JDBC(if what I understood is right, which is output of your program goes to database) See http://java.sun.com/products/jdbc/index.html
c. Read about XML parsing and transformations. See http://java.sun.com/xml/xml_jaxp.html -
Read web page content via Sockets
Hey,
I have to write a program that will read web page content, using sockets.
I got that piece of code and it works for most pages:
Socket socket = new Socket(address, 80);
BufferedReader input =
new BufferedReader(
new InputStreamReader(socket.getInputStream()));
PrintWriter output =
new PrintWriter(socket.getOutputStream(), true);
output.println("GET " + pageName);
String response = "";
String curline = input.readLine();
int i=1;
while(curline != null){
response += "\n" + curline;
curline = input.readLine();
System.out.println(i + curline);
++i;
output.close();
input.close();but not for the one it is supposed to work:
http://portalwiedzy.onet.pl/tlumacz.html
I could get it to work using this:
URL url = new URL(host + query);
URLConnection uc = url.openConnection();but I really have to use sockets.
Any advice, people? :-)There's an RFC that goes over the HTTP protocol (or rather, several RFCs for the several versions of the protocol). You probably want to google for that and use it as a reference for this project.
-
Analysis of the Web Page Content
Could anyone give me some tips on it?3x
Can you expound on what you need ie what WEB PAGE CONTENT?
-
Printing web page content from android tablet
When I attempt to eprint a web page, the web address line prints just fine (with a lower line that reads:"sent from Samsung tablet"), but none of the content, even though the print preview showed everything on the page that I needed. PLEASE HELP! Is the web page content considered an attachment and if so, how do I get the attachment to print?
This question was solved.
View Solution.Hi TurboLady,
Thank you for the update. I appreciate it. You read the document correctly.
The best way to print the web content is to print the web page using the browser found in the HP ePrint app. Please download and install the HP ePrint Mobile app from the Google Play store. For reference I’ve included the HP ePrint Mobile App FAQ document.
Please let me know how that works for you.
Regards,
Happytohelp01
Please click on the Thumbs Up on the right to say “Thanks” for helping!
Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
I work on behalf of HP -
How can I add a "search" field for web pages content-not blogs or podcasts?
This seems to be such a basic function, I can't believe I'm having so much trouble. I don't have a blog or a podcast on my new website that I'm in the process of designing. So how do I allow people who'll visit my site to search there for specified content? The only instructions I find are for the RSS in inspector for blogs or podcasts. All I want is for people to be able to search my site/web pages (that have no blogs or podcasts on them). This must be a common request... or am I crazy? How do I do that?
Thanks for your help.I think I've answered my own question after a few hours of searching:
http://services.google.com/searchcode2.html?accept=on
Thank you Google. -
Web page content on 11.6 Air often displays incorrectly.
I love my Macbook Air 11.6 for its quality size and weight but web browsing is a pain. I would love to read an open discussion on this. It seems to be that because the screen ratio is unusual i.e. very 'wide screen', many web pages are not written so that they display correctly. One has to always zoom in at least twice, but I could live with that if the content all displayed correctly, but it often doesn't. Try going to the BBC.co.uk. First page is ok but click on Wimbledon live and the links to live games are a mess. Try KLM.com - one has to zoom until it goes off the right hand side before the booking fields display correctly. Same thing for Cricinfo.com.
Today, I see that Chrome does it better but shouldn't Safari (my preference because of how it handles Evernote) be the KIng on Macs? Will this ever be rezolved? In Apple stores the genius says that it is down to the coding done by the web site writers and so I fear that they are not going to all re-write their code to please just one weird screen aspect ratio.
My best solution would be to sell this and get a 13.3, no? Pity but seems the only way... JJActually, 1366x768 is a very common resolution (and has been for quite a few years). It really is up to the website coding and the browser to deal properly with different resolutions. You should be able to even select an actual odd resolution manually and have the page display correctly. But, with respect to the resolution of your Air, it is basically an industry standard and should not be the cause of any problems with the way a site displays.
-
My Yahoo like Dynamic web page content creation
Are there any methodologies/best practices available for creation of pages like My Yahoo.
Basically, display of page depends on sections chosen by the user for display and inside those sections content is also what is chosen by the user. Page is different for different users based on their options.
Are there any methodologies/best practices available for this kind of work using JSP.If your ISP don't support JSP / Servlets,
1.use any server side technolgy, something like ASP.
2.Read the files and transform them as Strings (or StringBuffers).
3.Pass these Strings as parameters to the applet (if you are forced to use java technology, otherwise you can do it using ASP itself).
4.Construct the required format (content) in your applet.
Don't forget that the stuff will be in applet but not a complete web page. The ideal solution is asking your ISP to provide JSP engine. -
Scrambled email messages and web page content
Over the last 2 days I've been experiencing some problems. The content in some of my emails (and on some web pages) is scrambled. It looks like hundreds of fractions on top of each other rather than understandable messages or information. Can anyone help?
iMac G5 Mac OS X (10.4.4)Hi tnov
Search your system for the font Helvetica Fractions or Times Fractions, Phonetic, IPA, Hebrew, or Greek and try removing them.
Just be careful not to remove anything from:
Macintosh HD/System/Library/Fonts
Matthew Whiting -
Using Java for dynamic web page content
I've currently got a Perl program that I'd like to convert to Java. It merges two files that are stored on a web server and generates a "dynamic" HTML response.
For example, if I have the following files on the server:
File1:
<Comment1>This stuff</Comment1>
<Comment2>That stuff</Comment2>
File2:
<HTML>
<Comment1><br><Comment2>
</HTML>
When I go to the URL
www.mysite.com\cgibin\merge.pl?file1&file2
the Perl program will produce a web page saying:
This stuff
That stuff
The major obstical for the rewrite: NO JSP ALLOWED. It's not allowed by the ISP.
Now for the questions:
- Could this be done using Java?
- How could I initiate the Java app and pass it the parameters? (applet tag, access Java inside Perl, use Java Script somehow)
- Will an applet tag even work for this since the final page is generated completely from other files?
Thank you very much for your help.If your ISP don't support JSP / Servlets,
1.use any server side technolgy, something like ASP.
2.Read the files and transform them as Strings (or StringBuffers).
3.Pass these Strings as parameters to the applet (if you are forced to use java technology, otherwise you can do it using ASP itself).
4.Construct the required format (content) in your applet.
Don't forget that the stuff will be in applet but not a complete web page. The ideal solution is asking your ISP to provide JSP engine. -
Mail won't send web page content or link
I posted this the other day on the Safari site but should have posted here as well.
Suddenly I am unable to forward a web page in Safari 3.12 through Mail. I get the message:
"Safari couldn’t create an email message because it couldn’t locate an email application.
You can use the Mail application included with Mac OS X to send email. To do so, you might need to install Mail using the Mac OS X installation CDs."
This occurs whether I wish to mail the link to the page or the page contents. The program has been installed since I purchased the laptop and never had a problem doing this before. Any ideas or solutions? Thanks,
DennisFound Answer in previous discussion of this date.
-
Simulate frames by loading web page content into DIV
Hi, does anyone know if there is a way to simulate frames
using CSS. Essentially, I want to load the content from another web
page into a specific DIV. The content is from another web site, we
have permission to use it, but I want it to appear within a page on
my site that still has my navigation and header DIVs. So I want to
load a new page into a content DIV, as if it were a frame. Can this
be done? Thanks, JDBy the way, IFrames have the same problems as frames....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"bregent" <[email protected]> wrote in
message
news:e1umgn$227$[email protected]..
> >The content is from another web site
>
> If you are well versed in server side scripting, you
could do this without
> a
> (i)frame. Otherwise, you'll have to use some sort of
frame. Of, find out
> if the
> other site can provide you with an xml feed of some
sort.
> -
Firefox Not Displaying Web Page Content.
When going to some web pages with an initial welcom/subscribe pop up window, such as
http://www.mustangmonthly.com/techarticles/mump_0702_ford_mustang_distributor_rebuild/viewall.html
the background window does not show any content(although it does show a background).
I have another PC with Firefox that does display the content. I have compared all of the settings and they appear to be the same. I have also cleared the cache. However, the window content is still blank.
Windows 7 Home Premium
Firefox 4.0.1Everything is updated:
Application Basics
Name
Firefox
Version
10.0.2
User Agent
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Profile Directory
Open Containing Folder
Enabled Plugins
about:plugins
Build Configuration
about:buildconfig
Crash Reports
about:crashes
Memory Use
about:memory
Extensions
Name
Version
Enabled
ID
Adblock Plus
2.0.3
true
{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}
FireFTP
2.0.1
true
{a7c6cf7f-112c-4500-a7ea-39801a327e5f}
gpdf
4.0.1
true
{b68dfae5-1903-4a03-8094-c973bf7e483e}
Copernic Desktop Search - Professional Connector
3.0.4.48
false
{5A288A4E-7C09-40B9-AF27-A297A10B881D}
Google Toolbar for Firefox
7.1.20110512W
false
{3112ca9c-de6d-4884-a869-9855de68056c}
Modified Preferences
Name
Value
accessibility.blockautorefresh
true
accessibility.typeaheadfind.flashBar
0
browser.fixup.alternate.enabled
false
browser.history_expire_days.mirror
180
browser.history_expire_days_min
14
browser.places.importBookmarksHTML
false
browser.places.smartBookmarksVersion
2
browser.startup.homepage
http://excite.com/
browser.startup.homepage_override.buildID
20120215223356
browser.startup.homepage_override.mstone
rv:10.0.2
browser.tabs.warnOnClose
false
extensions.lastAppVersion
10.0.2
gfx.blacklist.suggested-driver-version
257.21
keyword.URL
http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=
network.cookie.prefsMigrated
true
network.http.sendRefererHeader
1
places.database.lastMaintenance
1330655589
places.history.expiration.transient_current_max_pages
53666
places.last_vacuum
1303061873
print.print_printer
Bullzip PDF Printer
print.printer_Brother_MFC-6490CW_Printer.print_bgcolor
false
print.printer_Brother_MFC-6490CW_Printer.print_bgimages
false
print.printer_Brother_MFC-6490CW_Printer.print_command
print.printer_Brother_MFC-6490CW_Printer.print_downloadfonts
false
print.printer_Brother_MFC-6490CW_Printer.print_edge_bottom
0
print.printer_Brother_MFC-6490CW_Printer.print_edge_left
0
print.printer_Brother_MFC-6490CW_Printer.print_edge_right
0
print.printer_Brother_MFC-6490CW_Printer.print_edge_top
0
print.printer_Brother_MFC-6490CW_Printer.print_evenpages
true
print.printer_Brother_MFC-6490CW_Printer.print_footercenter
print.printer_Brother_MFC-6490CW_Printer.print_footerleft
&PT
print.printer_Brother_MFC-6490CW_Printer.print_footerright
&D
print.printer_Brother_MFC-6490CW_Printer.print_headercenter
print.printer_Brother_MFC-6490CW_Printer.print_headerleft
&T
print.printer_Brother_MFC-6490CW_Printer.print_headerright
&U
print.printer_Brother_MFC-6490CW_Printer.print_in_color
true
print.printer_Brother_MFC-6490CW_Printer.print_margin_bottom
0.5
print.printer_Brother_MFC-6490CW_Printer.print_margin_left
0.5
print.printer_Brother_MFC-6490CW_Printer.print_margin_right
0.5
print.printer_Brother_MFC-6490CW_Printer.print_margin_top
0.5
print.printer_Brother_MFC-6490CW_Printer.print_oddpages
true
print.printer_Brother_MFC-6490CW_Printer.print_orientation
0
print.printer_Brother_MFC-6490CW_Printer.print_page_delay
50
print.printer_Brother_MFC-6490CW_Printer.print_pagedelay
500
print.printer_Brother_MFC-6490CW_Printer.print_paper_data
1
print.printer_Brother_MFC-6490CW_Printer.print_paper_height
11.00
print.printer_Brother_MFC-6490CW_Printer.print_paper_size_type
0
print.printer_Brother_MFC-6490CW_Printer.print_paper_size_unit
0
print.printer_Brother_MFC-6490CW_Printer.print_paper_width
8.50
print.printer_Brother_MFC-6490CW_Printer.print_reversed
false
print.printer_Brother_MFC-6490CW_Printer.print_scaling
0.80
print.printer_Brother_MFC-6490CW_Printer.print_shrink_to_fit
true
print.printer_Brother_MFC-6490CW_Printer.print_to_file
false
print.printer_Brother_MFC-6490CW_Printer.print_unwriteable_margin_bottom
0
print.printer_Brother_MFC-6490CW_Printer.print_unwriteable_margin_left
0
print.printer_Brother_MFC-6490CW_Printer.print_unwriteable_margin_right
0
print.printer_Brother_MFC-6490CW_Printer.print_unwriteable_margin_top
0
print.printer_Bullzip_PDF_Printer.print_bgcolor
false
print.printer_Bullzip_PDF_Printer.print_bgimages
false
print.printer_Bullzip_PDF_Printer.print_command
print.printer_Bullzip_PDF_Printer.print_downloadfonts
false
print.printer_Bullzip_PDF_Printer.print_edge_bottom
0
print.printer_Bullzip_PDF_Printer.print_edge_left
0
print.printer_Bullzip_PDF_Printer.print_edge_right
0
print.printer_Bullzip_PDF_Printer.print_edge_top
0
print.printer_Bullzip_PDF_Printer.print_evenpages
true
print.printer_Bullzip_PDF_Printer.print_footercenter
print.printer_Bullzip_PDF_Printer.print_footerleft
&PT
print.printer_Bullzip_PDF_Printer.print_footerright
&D
print.printer_Bullzip_PDF_Printer.print_headercenter
print.printer_Bullzip_PDF_Printer.print_headerleft
&T
print.printer_Bullzip_PDF_Printer.print_headerright
&U
print.printer_Bullzip_PDF_Printer.print_in_color
true
print.printer_Bullzip_PDF_Printer.print_margin_bottom
0.5
print.printer_Bullzip_PDF_Printer.print_margin_left
0.5
print.printer_Bullzip_PDF_Printer.print_margin_right
0.5
print.printer_Bullzip_PDF_Printer.print_margin_top
0.5
print.printer_Bullzip_PDF_Printer.print_oddpages
true
print.printer_Bullzip_PDF_Printer.print_orientation
0
print.printer_Bullzip_PDF_Printer.print_page_delay
50
print.printer_Bullzip_PDF_Printer.print_pagedelay
500
print.printer_Bullzip_PDF_Printer.print_paper_data
1
print.printer_Bullzip_PDF_Printer.print_paper_height
11.00
print.printer_Bullzip_PDF_Printer.print_paper_size_type
0
print.printer_Bullzip_PDF_Printer.print_paper_size_unit
0
print.printer_Bullzip_PDF_Printer.print_paper_width
8.50
print.printer_Bullzip_PDF_Printer.print_reversed
false
print.printer_Bullzip_PDF_Printer.print_scaling
0.80
print.printer_Bullzip_PDF_Printer.print_shrink_to_fit
true
print.printer_Bullzip_PDF_Printer.print_to_file
false
print.printer_Bullzip_PDF_Printer.print_unwriteable_margin_bottom
0
print.printer_Bullzip_PDF_Printer.print_unwriteable_margin_left
0
print.printer_Bullzip_PDF_Printer.print_unwriteable_margin_right
0
print.printer_Bullzip_PDF_Printer.print_unwriteable_margin_top
0
privacy.clearOnShutdown.offlineApps
true
privacy.clearOnShutdown.passwords
true
privacy.clearOnShutdown.siteSettings
true
privacy.sanitize.migrateFx3Prefs
true
privacy.sanitize.sanitizeOnShutdown
true
privacy.sanitize.timeSpan
0
security.warn_viewing_mixed
false
Graphics
Adapter Description
NVIDIA GeForce 8600 GT
Vendor ID
10de
Device ID
0402
Adapter RAM
256
Adapter Drivers
nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
Driver Version
8.17.12.9573
Driver Date
2-9-2012
Adapter RAM (GPU #2)
Unknown
Adapter Drivers (GPU #2)
Unknown
Direct2D Enabled
true
DirectWrite Enabled
true (6.1.7601.17563)
ClearType Parameters
ClearType parameters not found
WebGL Renderer
Google Inc. -- ANGLE (NVIDIA GeForce 8600 GT ) -- OpenGL ES 2.0 (ANGLE 0.0.0.809)
GPU Accelerated Windows
1/1 Direct3D 10 -
Firefox UI & Web Page Content Disappears
When using Firefox 27.0.1 with minimal (less than 15 tabs) I have encountered a problem where the entire user interface simply disappears. By that, I mean that the content Tab Bar, Navigation Bar and Bookmarks Toolbar all disappear and are replaced by the "glass" effect of the Windows 7 windows.
Additionally, the web page that should be displayed also disappears and turns completely black.
This seems to happen after browsing through several JavaScript heavy pages (like Google Play) as well as sites with Flash and/or HTML5 video frames (like YouTube).
I recently reinstalled Firefox (12th of January) and am using a completely new profile, though I have reinstalled my most used addons and disabled hardware acceleration.
I have included the Troubleshooting Information with this post.
Thanks guysDisabling hardware acceleration seems to have solved the rendering issues.
However, the crashes on script heavy pages persist. Tried running in Safe Mode and didn't get any crashes. But here's the problem. My sister uses Firefox as well and we use more or less the same Add-ons yet she doesn't get the same level of crashes I do and she browses far more often than I do.
So heres what I did (note: our PC's are custom builds with exactly the same specs, except the graphics card - her's is a Radeon HD4xxx and mine is an HD6770)
I checked what Add-ons she uses and disabled all the Add-ons I use that she didn't have. In theory, that would leave me with a Firefox with Add-ons that are confirmed working. And yet, despite that, Firefox still crashes, particularly on YouTube.
As an example, I can have 3-4 (approximately) YouTube pages open, none of which are showing the video player (Flash or HTML5); such as user pages or subscription pages, etc.
While they are loading Firefox slows to a crawl, eats memory and eventually crashes. My sister on the other hand once had 30+ pages with the video player (Flash in this case) open and yet her Firefox averaged around 900MB RAM with no slow down or crashes.
Again, this is a clean install (not even installed in the same Directory or Disk Partition as my previous install), and it is a clean profile with each Add-on reinstalled/setup manually. I did copy over a few files containing data for a few Add-ons as well as all my Bookmarks. The data copied was just a list of blocked Trackers by DoNotTrackMe and data from a time tracking add-on.
Anyone have any ideas? -
Import Web Page content into table, like Excel imports a Frame from a page
I have a need to import specific content from a web page (specific frame on the page) and store that data in a table. We currently have Microsoft Excel setup with a link to the page and import a specific frame off the page into Excel. But I would like to do this directly into PeopleSoft. Has anyone done something like this before?
Thanks
JBScott-
You haven't explained what the format of the text file is and
how you want to display it. You can get the contents of a file with
CFHTTP (if it's in a web-readable directory) and treat it as a
query if it is in a delimited data format. Then you can use
CFOUTPUT as you would with any other query.
You can also use CFFILE to read the contents of a text file
and display it in your page. You can use HTML PRE tags or you can
replace the CR/LF with a BR tag to force a line break.. Lots of
options, depending on your particular situation.
Maybe you are looking for
-
I am new to flash and working on a project for a class. I am working with mx 2004. I want to be able to have the user rollover or click on a small picture and have it show up larger in another part of the window. I know its possible but I can't figur
-
Have a new computer and now cannot access itunes without knowing the answers to the security questions. Apple support cannot reset as we have never used a credit card when purchasing prior, have only used gift cards. Can provide apple id and password
-
Can't make PDFs in Word or Excel after 10.5 upgrade
I can't make Word or Excel PDFs using Acrobat Professional after 10.5 upgrade. This worked fine in 10.4 before upgrade. Found an Adobe driver in the printer list. After installing driver, the PDF maker starts but then stops about 80% through the proc
-
-
Question about working with an audio interface
Hi I just bought an audio interface (tascam us-122l) and i have logic express 8 installed, so i've connected my guitar and my keyboard (via MIDI) to the audio interface, and i've read the user's manual but i still don't know how things work... Is it